Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001779/0.001779, allocations: 88.23 kB / 20.21 MB, free: 4.227 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.001795/0.001795, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.398/1.398, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.216/0.216, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.948e-06/3.948e-06, allocations: 4 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/3.237e-05, allocations: 2.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04291/0.04294, allocations: 35.5 MB / 382.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02808/0.07102, allocations: 18.01 MB / 400.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.0719, allocations: 31.69 kB / 400.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.07332, allocations: 425.2 kB / 400.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01642/0.08974, allocations: 5.175 MB / 406.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007991/0.09773, allocations: 2.594 MB / 408.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.1017, allocations: 2.043 MB / 410.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.1027, allocations: 458 kB / 411.2 MB, free: 9.324 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01125/0.114, allocations: 4.433 MB / 415.6 MB, free: 4.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/0.1269, allocations: 5.433 MB / 421 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.1272, allocations: 72 kB / 421.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.1435, allocations: 7.05 MB / 428.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006056/0.1441, allocations: 307 kB / 428.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006813/0.1448, allocations: 327.3 kB / 428.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.1593, allocations: 6.282 MB / 435.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1593, allocations: 0 / 435.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1593, allocations: 0 / 435.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1593, allocations: 0 / 435.1 MB, free: 1.273 MB / 362.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.1965/0.3558, allocations: 1.615 MB / 436.7 MB, free: 97.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3559, allocations: 9.781 kB / 436.7 MB, free: 97.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.3588, allocations: 464.4 kB / 437.1 MB, free: 97.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.3599, allocations: 0.5405 MB / 437.7 MB, free: 97.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.3601, allocations: 160.4 kB / 437.8 MB, free: 96.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3603, allocations: 70.44 kB / 437.9 MB, free: 96.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.3629, allocations: 1.508 MB / 439.4 MB, free: 95.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.3629, allocations: 11.27 kB / 439.4 MB, free: 95.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.363, allocations: 29.25 kB / 439.5 MB, free: 95.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.3631, allocations: 46.67 kB / 439.5 MB, free: 95.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.3649, allocations: 0.8382 MB / 440.3 MB, free: 95.59 MB / 362.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.005959/0.3709, allocations: 4.37 MB / 444.7 MB, free: 92.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3724, allocations: 0.5567 MB / 445.3 MB, free: 92.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.3729, allocations: 214.5 kB / 445.5 MB, free: 92.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07657/0.4494, allocations: 25.08 MB / 470.5 MB, free: 68.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.4495, allocations: 50.44 kB / 470.6 MB, free: 68.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.485e-06/0.4495, allocations: 4 kB / 470.6 MB, free: 68.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.005074/0.4546, allocations: 1.931 MB / 472.5 MB, free: 66.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.4546, allocations: 158.2 kB / 472.7 MB, free: 66.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.4552, allocations: 0.5494 MB / 473.2 MB, free: 66.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.4553, allocations: 37.7 kB / 473.3 MB, free: 66.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.4555, allocations: 404 kB / 473.7 MB, free: 65.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.4557, allocations: 178.2 kB / 473.8 MB, free: 65.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.4558, allocations: 158.6 kB / 474 MB, free: 65.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.4559, allocations: 366.8 kB / 474.4 MB, free: 65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4563, allocations: 233.8 kB / 474.6 MB, free: 64.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.4568, allocations: 0.6473 MB / 475.2 MB, free: 63.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008368/0.4576, allocations: 0.8378 MB / 476.1 MB, free: 62.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4576, allocations: 7.938 kB / 476.1 MB, free: 62.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001379/0.459, allocations: 0.9004 MB / 477 MB, free: 62.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.459, allocations: 8 kB / 477 MB, free: 62.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.459, allocations: 12 kB / 477 MB, free: 62.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.4593, allocations: 64.77 kB / 477.1 MB, free: 61.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.4604, allocations: 283.9 kB / 477.3 MB, free: 61.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.4616, allocations: 1.951 MB / 479.3 MB, free: 59.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.4621, allocations: 28 kB / 479.3 MB, free: 59.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.4621, allocations: 47.5 kB / 479.4 MB, free: 59.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.0003489/0.4625, allocations: 269.7 kB / 479.6 MB, free: 59.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.4627, allocations: 87.52 kB / 479.7 MB, free: 59.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.4649, allocations: 2.31 MB / 482 MB, free: 56.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.4649, allocations: 31.95 kB / 482.1 MB, free: 56.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4649, allocations: 0 / 482.1 MB, free: 56.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4649, allocations: 3.984 kB / 482.1 MB, free: 56.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.4678, allocations: 3.114 MB / 485.2 MB, free: 53.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.4678, allocations: 0 / 485.2 MB, free: 53.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.4687, allocations: 191.8 kB / 485.4 MB, free: 53.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/0.469, allocations: 88.73 kB / 485.4 MB, free: 53.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.469, allocations: 12 kB / 485.5 MB, free: 53.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.4701, allocations: 1.969 MB / 487.4 MB, free: 51.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4701, allocations: 4.031 kB / 487.4 MB, free: 51.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.472, allocations: 2.052 MB / 489.5 MB, free: 49.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/0.4723, allocations: 171.3 kB / 489.6 MB, free: 49.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.4725, allocations: 31.81 kB / 489.7 MB, free: 49.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.4731, allocations: 31.97 kB / 489.7 MB, free: 48.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.4732, allocations: 32.44 kB / 489.7 MB, free: 48.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.4733, allocations: 27.3 kB / 489.8 MB, free: 48.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005579/0.4738, allocations: 463 kB / 490.2 MB, free: 48.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4738, allocations: 7.938 kB / 490.2 MB, free: 48.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003379/0.4772, allocations: 1.088 MB / 491.3 MB, free: 47.37 MB / 362.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 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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): 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.005214/0.4824, allocations: 1.362 MB / 492.7 MB, free: 46.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.4842, allocations: 0.9287 MB / 493.6 MB, free: 45.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4842, allocations: 0 / 493.6 MB, free: 45.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.4853, allocations: 0.6174 MB / 494.2 MB, free: 44.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.487, allocations: 363.9 kB / 494.6 MB, free: 44.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.4896, allocations: 2.213 MB / 496.8 MB, free: 42.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.49, allocations: 0.5209 MB / 497.3 MB, free: 41.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.4907, allocations: 443.7 kB / 497.7 MB, free: 41.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4908, allocations: 64.5 kB / 497.8 MB, free: 40.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4908, allocations: 0 / 497.8 MB, free: 40.96 MB / 362.7 MB Notification: Performance of Templates: time 0.05412/0.5449, allocations: 45.1 MB / 0.5302 GB, free: 11.93 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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: 8.500271825003438]