Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 171.6 kB / 26.39 MB, free: 7.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9666/0.9666, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 252.3 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.022e-05, allocations: 6.312 kB / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01316/0.01319, allocations: 14.53 MB / 266.8 MB, free: 8.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009985/0.02318, allocations: 11.06 MB / 277.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.02342, allocations: 7.938 kB / 277.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.02381, allocations: 135 kB / 278.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005549/0.02437, allocations: 389.6 kB / 278.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.03477, allocations: 5.333 MB / 283.8 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.03604, allocations: 1.063 MB / 284.8 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.03624, allocations: 81.56 kB / 284.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.03991, allocations: 2.299 MB / 287.2 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004067/0.04031, allocations: 275.2 kB / 287.5 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.04037, allocations: 43.94 kB / 287.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007821/0.04819, allocations: 5.74 MB / 293.3 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.04836, allocations: 127.5 kB / 293.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.04862, allocations: 171.7 kB / 293.5 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.05843, allocations: 4.443 MB / 298 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.05844, allocations: 0 / 298 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.05844, allocations: 0 / 298 MB, free: 9.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.05845, allocations: 0 / 298 MB, free: 9.336 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00337/0.06182, allocations: 1.016 MB / 299 MB, free: 8.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.06188, allocations: 11.98 kB / 299 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.0632, allocations: 219.9 kB / 299.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.06367, allocations: 264 kB / 299.5 MB, free: 7.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.0637, allocations: 21.03 kB / 299.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.06377, allocations: 40.33 kB / 299.6 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.0648, allocations: 0.66 MB / 300.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.06482, allocations: 192 / 300.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.06486, allocations: 19.94 kB / 300.2 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.06488, allocations: 8 kB / 300.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.06532, allocations: 204.2 kB / 300.4 MB, free: 6.719 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.06771, allocations: 2.021 MB / 302.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.06819, allocations: 198 kB / 302.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.06829, allocations: 63.64 kB / 302.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04358/0.1119, allocations: 14.59 MB / 317.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.1119, allocations: 41.39 kB / 317.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.1119, allocations: 0 / 317.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.002801/0.1147, allocations: 0.8332 MB / 318.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1148, allocations: 55.41 kB / 318.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.115, allocations: 277.3 kB / 318.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.115, allocations: 33.7 kB / 318.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1152, allocations: 243 kB / 318.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.1152, allocations: 115 kB / 318.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1154, allocations: 91.75 kB / 319 MB, free: 3.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1155, allocations: 0.5079 MB / 319.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.1156, allocations: 44.95 kB / 319.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.1158, allocations: 211.5 kB / 319.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.1164, allocations: 286.4 kB / 320 MB, free: 2.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1164, allocations: 0 / 320 MB, free: 2.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005471/0.1169, allocations: 328.5 kB / 320.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.117, allocations: 8 kB / 320.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.117, allocations: 7.984 kB / 320.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.1172, allocations: 51.34 kB / 320.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1175, allocations: 87.84 kB / 320.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.1192, allocations: 3.415 MB / 323.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1194, allocations: 16 kB / 323.9 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.1195, allocations: 16 kB / 323.9 MB, free: 14.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.1196, allocations: 184.7 kB / 324.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.1197, allocations: 39.8 kB / 324.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/0.1204, allocations: 0.5213 MB / 324.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.1204, allocations: 15.92 kB / 324.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1204, allocations: 0 / 324.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006084/0.121, allocations: 0.6822 MB / 325.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.1222, allocations: 0.8972 MB / 326.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.1222, allocations: 7.938 kB / 326.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.1224, allocations: 47.97 kB / 326.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.1227, allocations: 59.58 kB / 326.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1227, allocations: 8 kB / 326.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006664/0.1234, allocations: 0.7922 MB / 327.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1234, allocations: 3.938 kB / 327.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.1239, allocations: 0.5535 MB / 327.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.1239, allocations: 39.78 kB / 327.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1239, allocations: 15.94 kB / 327.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.1241, allocations: 12 kB / 327.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1241, allocations: 23.89 kB / 327.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.1241, allocations: 15.98 kB / 327.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1242, allocations: 217.1 kB / 328.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1242, allocations: 0 / 328.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00208/0.1263, allocations: 0.8617 MB / 328.9 MB, free: 9.449 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00272/0.129, allocations: 1.095 MB / 330 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006898/0.1297, allocations: 414.9 kB / 330.4 MB, free: 7.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1297, allocations: 0 / 330.4 MB, free: 7.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1299, allocations: 141.5 kB / 330.6 MB, free: 7.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.1305, allocations: 165.5 kB / 330.7 MB, free: 7.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.1318, allocations: 0.854 MB / 331.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.1319, allocations: 114.6 kB / 331.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.1322, allocations: 174.7 kB / 331.9 MB, free: 6.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.1325, allocations: 222 kB / 332.1 MB, free: 6.207 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1325, allocations: 0 / 332.1 MB, free: 6.207 MB / 314.7 MB Notification: Performance of Templates: time 0.1548/0.2872, allocations: 39.56 MB / 371.6 MB, free: 78.14 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.067128668073565]