Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 121.3 kB / 19.18 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001683, allocations: 206.5 kB / 22.12 MB, free: 0.9062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006026/0.1094, allocations: 3.819 MB / 431.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.112, allocations: 1.083 MB / 432.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.1125, allocations: 23.88 kB / 432.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.113, allocations: 162.8 kB / 432.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1142, allocations: 310.4 kB / 433.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1146, allocations: 131.8 kB / 433.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.1165, allocations: 1.428 MB / 434.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.1178, allocations: 0.9087 MB / 435.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009795/0.1188, allocations: 0.6581 MB / 436.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1201, allocations: 0.8018 MB / 437.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003609/0.1205, allocations: 156 kB / 437.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.121, allocations: 168 kB / 437.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006097/0.1216, allocations: 478.6 kB / 437.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.1229, allocations: 0.7428 MB / 438.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.1256, allocations: 2.094 MB / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1256, allocations: 0 / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1256, allocations: 0 / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.095e-05/0.1257, allocations: 0 / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003929/0.1296, allocations: 1.737 MB / 442.5 MB, free: 5.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1297, allocations: 12.03 kB / 442.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006131/0.1303, allocations: 176 kB / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.1322, allocations: 0.9129 MB / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.625e-05/0.1323, allocations: 90.38 kB / 443.7 MB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.1325, allocations: 108 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/0.1355, allocations: 1.596 MB / 445.4 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.1356, allocations: 3.984 kB / 445.4 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.1357, allocations: 48 kB / 445.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.1357, allocations: 46.23 kB / 445.5 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.1383, allocations: 1.34 MB / 446.8 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2072/0.3455, allocations: 4.443 MB / 451.3 MB, free: 22.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/0.3465, allocations: 1.299 MB / 452.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008505/0.3473, allocations: 0.4946 MB / 453.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3473, allocations: 8.875 kB / 453.1 MB, free: 21.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3474, allocations: 42.78 kB / 453.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.3474, allocations: 0 / 453.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00146/0.3488, allocations: 0.8759 MB / 454 MB, free: 21.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3489, allocations: 57.38 kB / 454 MB, free: 21.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3499, allocations: 0.8343 MB / 454.9 MB, free: 20.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.35, allocations: 35.97 kB / 454.9 MB, free: 20.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.3503, allocations: 0.56 MB / 455.5 MB, free: 20.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3504, allocations: 188.4 kB / 455.7 MB, free: 20.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.3505, allocations: 103.5 kB / 455.8 MB, free: 20.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3507, allocations: 387.6 kB / 456.1 MB, free: 19.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.3511, allocations: 300.1 kB / 456.4 MB, free: 19.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/0.3516, allocations: 401.2 kB / 456.8 MB, free: 19.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008974/0.3525, allocations: 0.6836 MB / 457.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.3525, allocations: 7 kB / 457.5 MB, free: 19.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001343/0.3539, allocations: 0.8231 MB / 458.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3539, allocations: 6.438 kB / 458.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3539, allocations: 3.344 kB / 458.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.3539, allocations: 5.391 kB / 458.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.3545, allocations: 149.2 kB / 458.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3545, allocations: 9.828 kB / 458.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.3549, allocations: 62.59 kB / 458.6 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3549, allocations: 23.83 kB / 458.6 MB, free: 18.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000618/0.3556, allocations: 471.8 kB / 459 MB, free: 18.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3557, allocations: 76.56 kB / 459.1 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.3558, allocations: 92.56 kB / 459.2 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.3558, allocations: 4.188 kB / 459.2 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.3558, allocations: 5.031 kB / 459.2 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3558, allocations: 2.109 kB / 459.2 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.3589, allocations: 1.949 MB / 461.2 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3589, allocations: 1.375 kB / 461.2 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/0.3594, allocations: 122.9 kB / 461.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.3594, allocations: 4.328 kB / 461.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.3595, allocations: 15.45 kB / 461.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3595, allocations: 2.875 kB / 461.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3595, allocations: 3.609 kB / 461.3 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.3609, allocations: 1.126 MB / 462.4 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.3611, allocations: 179.5 kB / 462.6 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.3612, allocations: 13.66 kB / 462.6 MB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.3616, allocations: 49.17 kB / 462.7 MB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.3617, allocations: 35.62 kB / 462.7 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.3618, allocations: 16.16 kB / 462.7 MB, free: 17.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007049/0.3625, allocations: 0.596 MB / 463.3 MB, free: 16.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3625, allocations: 1.25 kB / 463.3 MB, free: 16.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007642/0.3632, allocations: 288.5 kB / 463.6 MB, free: 16.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/0.3634, allocations: 123.5 kB / 463.7 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3644, allocations: 0.6274 MB / 464.4 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3644, allocations: 2.109 kB / 464.4 MB, free: 16.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.3648, allocations: 315.3 kB / 464.7 MB, free: 16.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008507/0.3656, allocations: 187.6 kB / 464.9 MB, free: 16.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.3691, allocations: 2.316 MB / 467.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.3699, allocations: 1.325 MB / 468.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.3701, allocations: 55.31 kB / 468.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3701, allocations: 4 kB / 468.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Templates: time 0.0196/0.3897, allocations: 13.57 MB / 482.1 MB, free: 7.922 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.128647816949524]