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.001419/0.001419, 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.001633/0.001633, allocations: 172.1 kB / 26.39 MB, free: 8 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.053/1.053, allocations: 158.6 MB / 188.3 MB, free: 2.812 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.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.423e-06/1.423e-06, allocations: 0 / 252.3 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.539e-05, allocations: 2.312 kB / 252.3 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.031/0.03103, allocations: 14.53 MB / 266.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.04259, allocations: 11.08 MB / 277.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.0429, allocations: 8 kB / 277.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.04335, allocations: 131 kB / 278 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.0439, allocations: 385.6 kB / 278.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.05581, allocations: 5.325 MB / 283.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.05697, allocations: 1.051 MB / 284.8 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.05717, allocations: 73.56 kB / 284.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.06082, allocations: 2.302 MB / 287.2 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.06122, allocations: 279.1 kB / 287.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.06127, allocations: 40 kB / 287.5 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008538/0.06981, allocations: 5.74 MB / 293.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.06998, allocations: 123.6 kB / 293.3 MB, free: 14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.07022, allocations: 171.7 kB / 293.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.07785, allocations: 4.436 MB / 297.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.07786, allocations: 0 / 297.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.07786, allocations: 0 / 297.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.07786, allocations: 0 / 297.9 MB, free: 9.383 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.001812/0.07968, allocations: 1.024 MB / 299 MB, free: 8.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.07971, allocations: 11.98 kB / 299 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007436/0.08046, allocations: 223.9 kB / 299.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.08078, allocations: 264 kB / 299.5 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.08081, allocations: 25.03 kB / 299.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.08086, allocations: 40.33 kB / 299.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.08166, allocations: 0.6747 MB / 300.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.08168, allocations: 8.125 kB / 300.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.08171, allocations: 19.94 kB / 300.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.08172, allocations: 8 kB / 300.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.08225, allocations: 328.1 kB / 300.6 MB, free: 6.625 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.001735/0.08399, allocations: 2.056 MB / 302.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.08465, allocations: 366.6 kB / 303 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.08476, allocations: 87.91 kB / 303.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.08532, allocations: 151.9 kB / 303.2 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.08535, allocations: 41.89 kB / 303.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.08535, allocations: 0 / 303.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001969/0.08732, allocations: 1.04 MB / 304.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.08735, allocations: 59.41 kB / 304.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.0875, allocations: 265.6 kB / 304.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.08753, allocations: 33.7 kB / 304.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.08763, allocations: 239.1 kB / 304.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.08769, allocations: 122.9 kB / 305 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.08778, allocations: 87.81 kB / 305.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.08791, allocations: 0.5078 MB / 305.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.088, allocations: 76.84 kB / 305.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.08815, allocations: 212.8 kB / 305.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.0884, allocations: 299.6 kB / 306.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.0884, allocations: 0 / 306.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004397/0.08884, allocations: 403.9 kB / 306.6 MB, free: 296 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.08885, allocations: 8 kB / 306.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.08886, allocations: 0 / 306.6 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.08907, allocations: 99.28 kB / 306.7 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.08924, allocations: 83.83 kB / 306.7 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.09058, allocations: 3.318 MB / 310.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.0907, allocations: 23.92 kB / 310.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.09072, allocations: 12 kB / 310.1 MB, free: 12.56 MB / 298.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.0001328/0.09085, allocations: 184.4 kB / 310.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/0.0912, allocations: 43.8 kB / 310.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.09192, allocations: 0.8243 MB / 311.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.09193, allocations: 15.97 kB / 311.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.09194, allocations: 0 / 311.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005024/0.09244, allocations: 0.8643 MB / 312 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009979/0.09344, allocations: 1.215 MB / 313.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.09344, allocations: 4 kB / 313.2 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.09362, allocations: 75.88 kB / 313.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.0938, allocations: 51.59 kB / 313.4 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.09382, allocations: 11.98 kB / 313.4 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002601/0.09408, allocations: 0.7999 MB / 314.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.09408, allocations: 0 / 314.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.09471, allocations: 0.76 MB / 314.9 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.09475, allocations: 55.48 kB / 315 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.09478, allocations: 15.89 kB / 315 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.0949, allocations: 15.98 kB / 315 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.09496, allocations: 35.88 kB / 315.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.09498, allocations: 16.08 kB / 315.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.09509, allocations: 230.9 kB / 315.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09509, allocations: 0 / 315.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002093/0.09718, allocations: 0.8618 MB / 316.2 MB, free: 6.273 MB / 298.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.002498/0.09968, allocations: 1.103 MB / 317.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.1005, allocations: 461.8 kB / 317.7 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1005, allocations: 4 kB / 317.7 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.1007, allocations: 203.7 kB / 317.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.1013, allocations: 176.3 kB / 318.1 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1028, allocations: 1.07 MB / 319.2 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.1029, allocations: 148.2 kB / 319.3 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.1031, allocations: 150.5 kB / 319.4 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.1033, allocations: 206.1 kB / 319.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1033, allocations: 0 / 319.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of Templates: time 0.1523/0.2556, allocations: 40.72 MB / 360.4 MB, free: 82.51 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","",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.577339017298073]