Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.00182/0.00182, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.00205/0.00205, allocations: 166.4 kB / 25.02 MB, free: 8.945 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 1.46/1.46, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] 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.WaterIF97_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.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.289e-05, allocations: 9.406 kB / 250.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.0538/0.05384, allocations: 29.64 MB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.08287, allocations: 13.99 MB / 294.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.08323, allocations: 7.938 kB / 294.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000917/0.08415, allocations: 246.5 kB / 294.3 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009013/0.08505, allocations: 369.5 kB / 294.7 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0175/0.1025, allocations: 5.782 MB / 300.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1041, allocations: 1.016 MB / 301.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.1044, allocations: 69.23 kB / 301.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006006/0.1104, allocations: 2.337 MB / 303.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.1109, allocations: 283.2 kB / 304.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.111, allocations: 44 kB / 304.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.1233, allocations: 5.837 MB / 310 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.1236, allocations: 115.6 kB / 310.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.124, allocations: 175.7 kB / 310.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.1348, allocations: 4.763 MB / 315.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1348, allocations: 3.984 kB / 315.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1348, allocations: 0 / 315.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1348, allocations: 4 kB / 315.1 MB, free: 6.871 MB / 298.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.002806/0.1376, allocations: 0.9551 MB / 316 MB, free: 5.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1377, allocations: 11.98 kB / 316 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.1392, allocations: 239.8 kB / 316.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.1398, allocations: 269.1 kB / 316.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.1399, allocations: 29.03 kB / 316.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.036e-05/0.1399, allocations: 32.38 kB / 316.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1417, allocations: 0.7016 MB / 317.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.1417, allocations: 4.188 kB / 317.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.1418, allocations: 19.88 kB / 317.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.1418, allocations: 8 kB / 317.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.1435, allocations: 0.498 MB / 317.8 MB, free: 3.984 MB / 298.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.003009/0.1465, allocations: 1.727 MB / 319.6 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.1481, allocations: 434.3 kB / 320 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.1486, allocations: 157.1 kB / 320.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/0.1493, allocations: 191.8 kB / 320.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1493, allocations: 34.56 kB / 320.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.596e-06/0.1493, allocations: 3.984 kB / 320.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.00541/0.1547, allocations: 1.39 MB / 321.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1548, allocations: 55.41 kB / 321.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.1551, allocations: 223.1 kB / 322 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.1551, allocations: 29.7 kB / 322.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1553, allocations: 188.4 kB / 322.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.1554, allocations: 122.9 kB / 322.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1555, allocations: 74.19 kB / 322.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.1558, allocations: 346.8 kB / 322.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/0.1562, allocations: 136.9 kB / 322.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.1568, allocations: 240 kB / 323.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1578, allocations: 398.9 kB / 323.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1578, allocations: 0 / 323.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001525/0.1593, allocations: 0.5152 MB / 324 MB, free: 13.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1593, allocations: 4 kB / 324 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1593, allocations: 4 kB / 324 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.1599, allocations: 110.8 kB / 324.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.1603, allocations: 83.89 kB / 324.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.1629, allocations: 2.398 MB / 326.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.1632, allocations: 23.98 kB / 326.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.1633, allocations: 19.98 kB / 326.7 MB, free: 10.7 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.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 (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.1635, allocations: 162 kB / 326.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1637, allocations: 43.8 kB / 326.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.166, allocations: 1.377 MB / 328.3 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.166, allocations: 19.91 kB / 328.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.166, allocations: 0 / 328.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/0.1683, allocations: 1.471 MB / 329.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.1716, allocations: 1.947 MB / 331.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1716, allocations: 3.938 kB / 331.7 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.172, allocations: 95.84 kB / 331.8 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003937/0.1724, allocations: 72.75 kB / 331.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.1725, allocations: 8 kB / 331.9 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005501/0.173, allocations: 0.5914 MB / 332.5 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.173, allocations: 0 / 332.5 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/0.1754, allocations: 1.323 MB / 333.8 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1755, allocations: 51.48 kB / 333.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.1756, allocations: 19.89 kB / 333.9 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.1759, allocations: 23.97 kB / 333.9 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.176, allocations: 35.92 kB / 333.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.176, allocations: 20.06 kB / 333.9 MB, free: 3.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002948/0.1763, allocations: 211.1 kB / 334.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1763, allocations: 0 / 334.1 MB, free: 3.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003022/0.1794, allocations: 0.8696 MB / 335 MB, free: 2.164 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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,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 simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.004908/0.1843, allocations: 1.086 MB / 336.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.1859, allocations: 0.6423 MB / 336.7 MB, free: 428 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1859, allocations: 0 / 336.7 MB, free: 428 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.1867, allocations: 382 kB / 337.1 MB, free: 48 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.1878, allocations: 199 kB / 337.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1904, allocations: 1.221 MB / 338.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1907, allocations: 277 kB / 338.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003938/0.1911, allocations: 138.7 kB / 338.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1912, allocations: 32.5 kB / 339 MB, free: 14.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1912, allocations: 4 kB / 339 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Templates: time 0.1577/0.349, allocations: 35.38 MB / 374.3 MB, free: 90.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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: 7.332317141001113]