Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.0009673/0.0009673, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001136/0.001136, allocations: 165.5 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.292/0.292, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.86e-05, allocations: 6.25 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01564/0.01567, allocations: 16.63 MB / 395.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.03131, allocations: 13.77 MB / 408.9 MB, free: 3.871 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007625/0.03207, allocations: 31.69 kB / 408.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.03284, allocations: 246.4 kB / 409.2 MB, free: 3.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.04527, allocations: 4.964 MB / 414.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004585/0.04986, allocations: 1.951 MB / 416.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.05228, allocations: 2.074 MB / 418.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/0.05326, allocations: 458 kB / 418.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009048/0.06231, allocations: 7.661 MB / 426.3 MB, free: 2.348 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.06511, allocations: 2.198 MB / 428.5 MB, free: 124 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.06525, allocations: 75.94 kB / 428.6 MB, free: 48 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.07627, allocations: 6.778 MB / 435.3 MB, free: 9.262 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.07669, allocations: 307.1 kB / 435.6 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.07724, allocations: 323.3 kB / 435.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.09015, allocations: 5.647 MB / 441.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.09015, allocations: 0 / 441.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09015, allocations: 0 / 441.6 MB, free: 2.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.09016, allocations: 0 / 441.6 MB, free: 2.984 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.0034/0.09356, allocations: 1.661 MB / 443.3 MB, free: 1.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.09362, allocations: 8.031 kB / 443.3 MB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.09492, allocations: 443.1 kB / 443.7 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006527/0.09557, allocations: 0.5318 MB / 444.2 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.0957, allocations: 164.7 kB / 444.4 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.284e-05/0.09578, allocations: 60.38 kB / 444.4 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2089/0.3047, allocations: 1.251 MB / 445.7 MB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3047, allocations: 10.11 kB / 445.7 MB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.505e-05/0.3048, allocations: 30.34 kB / 445.7 MB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/0.3048, allocations: 41.39 kB / 445.8 MB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.3056, allocations: 432.2 kB / 446.2 MB, free: 74.5 MB / 410.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.003908/0.3095, allocations: 5.155 MB / 451.4 MB, free: 70.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.3103, allocations: 395.2 kB / 451.7 MB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.3104, allocations: 109 kB / 451.8 MB, free: 70.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04166/0.3521, allocations: 22.69 MB / 474.5 MB, free: 69.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/0.3522, allocations: 47 kB / 474.6 MB, free: 69.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.514e-06/0.3522, allocations: 0 / 474.6 MB, free: 69.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003328/0.3555, allocations: 1.244 MB / 475.8 MB, free: 68.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.3556, allocations: 159.9 kB / 476 MB, free: 68.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.356, allocations: 0.5713 MB / 476.6 MB, free: 68.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.3561, allocations: 32.3 kB / 476.6 MB, free: 68.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.3563, allocations: 467.8 kB / 477 MB, free: 68.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3564, allocations: 190.7 kB / 477.2 MB, free: 68.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.3566, allocations: 170 kB / 477.4 MB, free: 68.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3568, allocations: 0.5571 MB / 478 MB, free: 67.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3569, allocations: 78.55 kB / 478 MB, free: 67.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.3573, allocations: 0.6781 MB / 478.7 MB, free: 66.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.3579, allocations: 0.7447 MB / 479.5 MB, free: 66.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3579, allocations: 4.125 kB / 479.5 MB, free: 66.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008255/0.3588, allocations: 0.648 MB / 480.1 MB, free: 66.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3588, allocations: 9.625 kB / 480.1 MB, free: 66.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3588, allocations: 12.38 kB / 480.1 MB, free: 66.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002198/0.359, allocations: 59.39 kB / 480.2 MB, free: 66.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.3596, allocations: 257.4 kB / 480.4 MB, free: 66.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.3764, allocations: 11.49 MB / 491.9 MB, free: 62.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005914/0.377, allocations: 34.66 kB / 492 MB, free: 62.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.377, allocations: 35.44 kB / 492 MB, free: 62.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1],fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002863/0.3773, allocations: 229.3 kB / 492.2 MB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3774, allocations: 85.39 kB / 492.3 MB, free: 61.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.3785, allocations: 1.306 MB / 493.6 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/0.3785, allocations: 30.27 kB / 493.6 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3785, allocations: 0 / 493.6 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3785, allocations: 3.891 kB / 493.6 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.3801, allocations: 1.837 MB / 495.5 MB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3801, allocations: 3.797 kB / 495.5 MB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.3805, allocations: 161.1 kB / 495.6 MB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.3807, allocations: 97.56 kB / 495.7 MB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.3808, allocations: 10.84 kB / 495.7 MB, free: 61.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.3818, allocations: 3.576 MB / 499.3 MB, free: 57.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3818, allocations: 0 / 499.3 MB, free: 57.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.3826, allocations: 1.226 MB / 0.4888 GB, free: 56.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.3827, allocations: 160.3 kB / 0.489 GB, free: 56.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.3828, allocations: 26.78 kB / 0.489 GB, free: 56.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.383, allocations: 19.48 kB / 0.489 GB, free: 56.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.383, allocations: 39.56 kB / 0.489 GB, free: 56.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.383, allocations: 11.94 kB / 0.4891 GB, free: 56.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.3832, allocations: 404.8 kB / 0.4894 GB, free: 56.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3832, allocations: 0 / 0.4894 GB, free: 56.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00224/0.3855, allocations: 1.101 MB / 0.4905 GB, free: 55.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 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.002792/0.3883, allocations: 1.319 MB / 0.4918 GB, free: 53.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009213/0.3892, allocations: 0.734 MB / 0.4925 GB, free: 53.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3892, allocations: 0 / 0.4925 GB, free: 53.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.3896, allocations: 0.508 MB / 0.493 GB, free: 52.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/0.3906, allocations: 359.4 kB / 0.4934 GB, free: 52.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.3929, allocations: 1.936 MB / 0.4953 GB, free: 51.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.3931, allocations: 258.8 kB / 0.4955 GB, free: 50.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.3935, allocations: 356 kB / 0.4958 GB, free: 50.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.3939, allocations: 372.3 kB / 0.4962 GB, free: 50.37 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3939, allocations: 0 / 0.4962 GB, free: 50.37 MB / 410.7 MB Notification: Performance of Templates: time 0.0495/0.4434, allocations: 51.59 MB / 0.5466 GB, free: 2.359 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/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.61278291605413]