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.001386/0.001386, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001177/0.001177, allocations: 162.1 kB / 25.61 MB, free: 8.91 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.9708/0.9708, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.904e-06/1.904e-06, allocations: 0 / 251.5 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.205e-05, allocations: 2.312 kB / 251.5 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.01347/0.0135, allocations: 14.53 MB / 266.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.02416, allocations: 11.07 MB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.02452, allocations: 7.938 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.02497, allocations: 135.1 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.0257, allocations: 389.5 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.03747, allocations: 5.325 MB / 283 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.03868, allocations: 1.036 MB / 284 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.0389, allocations: 81.56 kB / 284.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.04245, allocations: 2.302 MB / 286.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.04286, allocations: 287.1 kB / 286.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.04291, allocations: 40 kB / 286.7 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009008/0.05192, allocations: 5.74 MB / 292.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.0521, allocations: 119.6 kB / 292.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.05237, allocations: 171.7 kB / 292.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.05998, allocations: 4.436 MB / 297.2 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.05998, allocations: 0 / 297.2 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.05998, allocations: 0 / 297.2 MB, free: 9.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.05999, allocations: 0 / 297.2 MB, free: 9.375 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.002476/0.06247, allocations: 1.024 MB / 298.2 MB, free: 8.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.06251, allocations: 11.98 kB / 298.2 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.06325, allocations: 219.9 kB / 298.4 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.06354, allocations: 264 kB / 298.7 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.06357, allocations: 29.03 kB / 298.7 MB, free: 7.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.06361, allocations: 44.27 kB / 298.7 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.0644, allocations: 0.6747 MB / 299.4 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.06441, allocations: 192 / 299.4 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.06444, allocations: 19.94 kB / 299.4 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.06445, allocations: 8 kB / 299.4 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.06496, allocations: 336 kB / 299.8 MB, free: 6.613 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.001621/0.06658, allocations: 2.052 MB / 301.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.06724, allocations: 358.7 kB / 302.2 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.06737, allocations: 91.91 kB / 302.3 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003613/0.06773, allocations: 159.8 kB / 302.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.06776, allocations: 41.89 kB / 302.5 MB, free: 3.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.575e-06/0.06776, allocations: 0 / 302.5 MB, free: 3.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.002124/0.06989, allocations: 1.058 MB / 303.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.06992, allocations: 59.41 kB / 303.6 MB, free: 2.648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.07009, allocations: 269.5 kB / 303.8 MB, free: 2.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.07011, allocations: 33.7 kB / 303.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.07022, allocations: 243 kB / 304.1 MB, free: 2.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.07028, allocations: 115 kB / 304.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003771/0.07066, allocations: 87.81 kB / 304.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.07079, allocations: 0.504 MB / 304.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.07088, allocations: 80.84 kB / 304.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.07103, allocations: 208.8 kB / 305.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.07129, allocations: 303.6 kB / 305.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.07129, allocations: 0 / 305.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004956/0.07178, allocations: 412 kB / 305.8 MB, free: 256 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.0718, allocations: 4 kB / 305.8 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.07181, allocations: 4 kB / 305.8 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.07206, allocations: 115.1 kB / 305.9 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.07224, allocations: 83.91 kB / 306 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.07489, allocations: 4.561 MB / 310.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.07504, allocations: 15.98 kB / 310.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.07505, allocations: 16 kB / 310.6 MB, free: 11.18 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.0752, allocations: 184.5 kB / 310.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.07526, allocations: 43.84 kB / 310.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.07642, allocations: 0.8319 MB / 311.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.07643, allocations: 19.98 kB / 311.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.07644, allocations: 0 / 311.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009804/0.07742, allocations: 0.8837 MB / 312.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.07861, allocations: 1.231 MB / 313.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.07862, allocations: 4 kB / 313.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.07879, allocations: 79.88 kB / 313.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.07903, allocations: 91.61 kB / 314 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.07905, allocations: 8 kB / 314 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008471/0.07989, allocations: 1.777 MB / 315.7 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.07989, allocations: 3.938 kB / 315.7 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.08061, allocations: 0.7717 MB / 316.5 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.08067, allocations: 43.78 kB / 316.6 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.0807, allocations: 23.89 kB / 316.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.08081, allocations: 15.98 kB / 316.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.08088, allocations: 35.92 kB / 316.6 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.0809, allocations: 12 kB / 316.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.08102, allocations: 222.9 kB / 316.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08102, allocations: 0 / 316.9 MB, free: 4.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002282/0.0833, allocations: 0.8696 MB / 317.7 MB, free: 3.738 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 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003043/0.08634, allocations: 1.099 MB / 318.8 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008194/0.08716, allocations: 0.6627 MB / 319.5 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.08716, allocations: 0 / 319.5 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.08751, allocations: 365.6 kB / 319.8 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/0.08824, allocations: 181 kB / 320 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.09004, allocations: 1.08 MB / 321.1 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.09015, allocations: 152.2 kB / 321.3 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.09043, allocations: 142.4 kB / 321.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.09076, allocations: 214.1 kB / 321.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.09076, allocations: 0 / 321.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.1813/0.2721, allocations: 41.12 MB / 362.7 MB, free: 80.92 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: 4.634028655011207]