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.001994/0.001994, allocations: 95.55 kB / 21.73 MB, free: 2.684 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.002015/0.002015, allocations: 162.7 kB / 25.03 MB, free: 8.422 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.464/1.464, allocations: 158.6 MB / 186.8 MB, free: 2.914 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 1.703e-06/1.703e-06, allocations: 0 / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.312e-05, allocations: 2.312 kB / 250.4 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.05846/0.0585, allocations: 33.3 MB / 283.7 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.08313, allocations: 15.61 MB / 299.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.08352, allocations: 7.938 kB / 299.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.08446, allocations: 242.4 kB / 299.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009982/0.08546, allocations: 385.5 kB / 299.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01764/0.1031, allocations: 5.786 MB / 305.7 MB, free: 268 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.1047, allocations: 1.001 MB / 306.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.1049, allocations: 77.23 kB / 306.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00617/0.1111, allocations: 2.337 MB / 309.1 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1116, allocations: 283.2 kB / 309.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.1117, allocations: 40 kB / 309.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.1244, allocations: 5.833 MB / 315.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.1246, allocations: 123.6 kB / 315.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.125, allocations: 167.7 kB / 315.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.1366, allocations: 4.767 MB / 320.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1366, allocations: 0 / 320.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1367, allocations: 0 / 320.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1367, allocations: 4 kB / 320.4 MB, free: 1.59 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.002765/0.1394, allocations: 1.07 MB / 321.4 MB, free: 492 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1395, allocations: 15.98 kB / 321.4 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1409, allocations: 227.8 kB / 321.7 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.1414, allocations: 264 kB / 321.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.1415, allocations: 29.03 kB / 321.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.1416, allocations: 36.38 kB / 322 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.1431, allocations: 0.7019 MB / 322.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1431, allocations: 192 / 322.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.1432, allocations: 19.94 kB / 322.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1432, allocations: 8 kB / 322.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.1446, allocations: 462.1 kB / 323.2 MB, free: 14.62 MB / 314.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.003875/0.1484, allocations: 2.275 MB / 325.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.1501, allocations: 402.8 kB / 325.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.1507, allocations: 147.6 kB / 326 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009734/0.1516, allocations: 183.8 kB / 326.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.1517, allocations: 33.39 kB / 326.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/0.1517, allocations: 8 kB / 326.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.006617/0.1583, allocations: 1.281 MB / 327.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1584, allocations: 59.34 kB / 327.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.1589, allocations: 301.8 kB / 327.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.1589, allocations: 29.7 kB / 327.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.1592, allocations: 247.4 kB / 328.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.1594, allocations: 127 kB / 328.2 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.1597, allocations: 103.8 kB / 328.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004311/0.1601, allocations: 0.5274 MB / 328.9 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.1606, allocations: 116.9 kB / 329 MB, free: 8.605 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.1613, allocations: 268.8 kB / 329.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.1626, allocations: 399.7 kB / 329.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1626, allocations: 0 / 329.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001859/0.1644, allocations: 0.4884 MB / 330.1 MB, free: 7.336 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.1645, allocations: 8 kB / 330.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1645, allocations: 4 kB / 330.1 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.1652, allocations: 106.9 kB / 330.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.1657, allocations: 80.23 kB / 330.3 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.1701, allocations: 3.443 MB / 333.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.1705, allocations: 19.98 kB / 333.8 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.1706, allocations: 24.23 kB / 333.8 MB, free: 3.457 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.0003972/0.171, allocations: 200.5 kB / 334 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.1712, allocations: 39.84 kB / 334 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.1737, allocations: 0.9493 MB / 335 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/0.1737, allocations: 27.91 kB / 335 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1737, allocations: 0 / 335 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002151/0.1759, allocations: 1.036 MB / 336 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.1797, allocations: 1.496 MB / 337.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.1797, allocations: 3.938 kB / 337.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.1802, allocations: 75.89 kB / 337.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.1807, allocations: 55.62 kB / 337.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.1808, allocations: 12 kB / 337.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.182, allocations: 0.8195 MB / 338.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.182, allocations: 4 kB / 338.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.1844, allocations: 0.9787 MB / 339.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1845, allocations: 47.69 kB / 339.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.1846, allocations: 15.89 kB / 339.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.185, allocations: 15.98 kB / 339.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.1851, allocations: 35.94 kB / 339.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.1852, allocations: 15.98 kB / 339.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004455/0.1856, allocations: 259 kB / 339.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1856, allocations: 4 kB / 339.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003865/0.1895, allocations: 0.8656 MB / 340.7 MB, free: 12.28 MB / 330.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.005906/0.1954, allocations: 1.087 MB / 341.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1974, allocations: 0.5911 MB / 342.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1974, allocations: 0 / 342.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.1983, allocations: 291.6 kB / 342.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.1999, allocations: 176.8 kB / 342.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.2031, allocations: 1.126 MB / 344 MB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2035, allocations: 265 kB / 344.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005224/0.204, allocations: 142.7 kB / 344.4 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.2042, allocations: 40.48 kB / 344.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2042, allocations: 0 / 344.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of Templates: time 0.2203/0.4244, allocations: 36.01 MB / 380.4 MB, free: 83.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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.565898829023354]