Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.0008097/0.0008097, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003363/0.003363, allocations: 158.6 kB / 24.7 MB, free: 8.891 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 0.8339/0.8339, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 32.8 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.827e-05, allocations: 2.281 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.1782/0.1782, allocations: 35.63 MB / 476.5 MB, free: 24.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.1888, allocations: 18.02 MB / 494.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.1891, allocations: 35.91 kB / 494.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.1898, allocations: 416.5 kB / 495 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007458/0.1973, allocations: 5.191 MB / 0.4884 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.2016, allocations: 2.596 MB / 0.491 GB, free: 9.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.2034, allocations: 2.026 MB / 0.4929 GB, free: 8.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.2039, allocations: 427.8 kB / 0.4934 GB, free: 7.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005389/0.2093, allocations: 4.432 MB / 0.4977 GB, free: 5.867 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006142/0.2155, allocations: 5.447 MB / 0.503 GB, free: 3.465 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2156, allocations: 69.69 kB / 0.5031 GB, free: 3.465 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.2256, allocations: 7.069 MB / 0.51 GB, free: 0.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.2258, allocations: 302 kB / 0.5103 GB, free: 380 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.2261, allocations: 326.6 kB / 0.5106 GB, free: 228 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.2334, allocations: 6.265 MB / 0.5167 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2334, allocations: 4 kB / 0.5167 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2334, allocations: 0 / 0.5167 GB, free: 11.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2334, allocations: 2.719 kB / 0.5167 GB, free: 11.95 MB / 426.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.002692/0.2361, allocations: 1.64 MB / 0.5183 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2361, allocations: 12.03 kB / 0.5183 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.2372, allocations: 308.1 kB / 0.5186 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.2378, allocations: 0.5136 MB / 0.5191 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2379, allocations: 168.7 kB / 0.5193 GB, free: 9.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.238, allocations: 63.27 kB / 0.5193 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2395, allocations: 1.441 MB / 0.5207 GB, free: 8.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.2395, allocations: 11.88 kB / 0.5207 GB, free: 8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.2396, allocations: 27.98 kB / 0.5208 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002922/0.2399, allocations: 45.28 kB / 0.5208 GB, free: 7.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.2412, allocations: 1.02 MB / 0.5218 GB, free: 6.906 MB / 426.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.003278/0.2445, allocations: 4.451 MB / 0.5262 GB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2457, allocations: 0.7368 MB / 0.5269 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.246, allocations: 285.5 kB / 0.5271 GB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/0.2605, allocations: 8.653 MB / 0.5356 GB, free: 8.598 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2605, allocations: 46.5 kB / 0.5356 GB, free: 8.543 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.2605, allocations: 0 / 0.5356 GB, free: 8.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.003686/0.2642, allocations: 2.222 MB / 0.5378 GB, free: 6.289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.2643, allocations: 158.7 kB / 0.538 GB, free: 6.098 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.2647, allocations: 0.5455 MB / 0.5385 GB, free: 5.543 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.2647, allocations: 33.7 kB / 0.5385 GB, free: 5.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.2649, allocations: 401.8 kB / 0.5389 GB, free: 5.109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.265, allocations: 182.5 kB / 0.5391 GB, free: 4.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.2652, allocations: 154.6 kB / 0.5392 GB, free: 4.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2653, allocations: 370.8 kB / 0.5396 GB, free: 4.402 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.2656, allocations: 285.8 kB / 0.5399 GB, free: 4.121 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.2661, allocations: 0.6853 MB / 0.5405 GB, free: 3.262 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008262/0.267, allocations: 0.8999 MB / 0.5414 GB, free: 2.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.267, allocations: 4 kB / 0.5414 GB, free: 2.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001283/0.2682, allocations: 0.9547 MB / 0.5423 GB, free: 1.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2683, allocations: 12 kB / 0.5424 GB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2683, allocations: 8 kB / 0.5424 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.2685, allocations: 64.77 kB / 0.5424 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.2691, allocations: 308.1 kB / 0.5427 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009592/0.27, allocations: 1.948 MB / 0.5446 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.2703, allocations: 52.06 kB / 0.5447 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.2704, allocations: 40 kB / 0.5447 GB, free: 14.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.2706, allocations: 265.5 kB / 0.545 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.2707, allocations: 67.56 kB / 0.545 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.2726, allocations: 2.667 MB / 0.5476 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.2726, allocations: 39.97 kB / 0.5477 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.2726, allocations: 4 kB / 0.5477 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2726, allocations: 7.922 kB / 0.5477 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.2754, allocations: 3.561 MB / 0.5512 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2754, allocations: 0 / 0.5512 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.276, allocations: 231.7 kB / 0.5514 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.2761, allocations: 92.73 kB / 0.5515 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2762, allocations: 19.92 kB / 0.5515 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000826/0.277, allocations: 1.966 MB / 0.5534 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.277, allocations: 3.938 kB / 0.5534 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.279, allocations: 2.403 MB / 0.5558 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.2792, allocations: 170.9 kB / 0.5559 GB, free: 3.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.2793, allocations: 39.73 kB / 0.556 GB, free: 2.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2795, allocations: 27.97 kB / 0.556 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2796, allocations: 60.33 kB / 0.556 GB, free: 2.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2796, allocations: 16 kB / 0.5561 GB, free: 2.863 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003866/0.28, allocations: 0.5029 MB / 0.5565 GB, free: 2.363 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.28, allocations: 64 / 0.5565 GB, free: 2.363 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002874/0.2828, allocations: 1.108 MB / 0.5576 GB, free: 1.254 MB / 458.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].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 (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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): 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.002476/0.2853, allocations: 1.353 MB / 0.559 GB, free: 15.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.2866, allocations: 1.092 MB / 0.56 GB, free: 14.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2866, allocations: 0 / 0.56 GB, free: 14.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007796/0.2874, allocations: 0.7423 MB / 0.5607 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.2883, allocations: 360.7 kB / 0.5611 GB, free: 13.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.2909, allocations: 2.475 MB / 0.5635 GB, free: 11.23 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.2912, allocations: 0.5673 MB / 0.5641 GB, free: 10.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2913, allocations: 68.5 kB / 0.5641 GB, free: 10.55 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2913, allocations: 0 / 0.5641 GB, free: 10.55 MB / 474.7 MB Notification: Performance of Templates: time 0.03142/0.3227, allocations: 39.64 MB / 0.6028 GB, free: 2.941 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.316391148604453]