Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002645/0.002645, allocations: 92.97 kB / 20.21 MB, free: 4.215 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.002301/0.002301, allocations: 169.2 kB / 23.53 MB, free: 0.8984 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.424/1.424, allocations: 158.6 MB / 185.3 MB, free: 2.91 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.2008/0.2008, 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.WaterIF97_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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/4.054e-05, allocations: 2.312 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05256/0.0526, allocations: 39.98 MB / 386.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0341/0.0867, allocations: 20.11 MB / 407 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.0876, allocations: 31.69 kB / 407.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.08917, allocations: 421.2 kB / 407.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01704/0.1062, allocations: 5.183 MB / 412.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0089/0.1151, allocations: 2.59 MB / 415.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003628/0.1187, allocations: 2.023 MB / 417.3 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1199, allocations: 449.9 kB / 417.7 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01407/0.134, allocations: 4.437 MB / 422.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01582/0.1498, allocations: 5.433 MB / 427.6 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003927/0.1502, allocations: 72 kB / 427.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0178/0.168, allocations: 7.05 MB / 434.7 MB, free: 1.617 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007122/0.1687, allocations: 311.1 kB / 435 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007461/0.1695, allocations: 331.3 kB / 435.3 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2112/0.3807, allocations: 6.263 MB / 441.6 MB, free: 36.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3807, allocations: 0 / 441.6 MB, free: 36.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3807, allocations: 0 / 441.6 MB, free: 36.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.3807, allocations: 0 / 441.6 MB, free: 36.73 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.005374/0.3861, allocations: 1.787 MB / 443.4 MB, free: 35.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3861, allocations: 10.28 kB / 443.4 MB, free: 35.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.3884, allocations: 443.8 kB / 443.8 MB, free: 35.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3894, allocations: 0.5504 MB / 444.4 MB, free: 35.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.3896, allocations: 168.8 kB / 444.5 MB, free: 35.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3897, allocations: 61.97 kB / 444.6 MB, free: 35.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.392, allocations: 1.447 MB / 446.1 MB, free: 34.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.392, allocations: 5.688 kB / 446.1 MB, free: 34.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.3921, allocations: 37.56 kB / 446.1 MB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.3922, allocations: 38.41 kB / 446.1 MB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.3943, allocations: 0.8195 MB / 447 MB, free: 34.66 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.006005/0.4004, allocations: 5.788 MB / 452.7 MB, free: 30.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.4022, allocations: 0.6469 MB / 453.4 MB, free: 30.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004179/0.4026, allocations: 232.7 kB / 453.6 MB, free: 30.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03082/0.4334, allocations: 8.476 MB / 462.1 MB, free: 30.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.4335, allocations: 43.2 kB / 462.1 MB, free: 30 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.365e-06/0.4335, allocations: 0 / 462.1 MB, free: 30 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.00586/0.4394, allocations: 2.017 MB / 464.2 MB, free: 29.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.4394, allocations: 163.8 kB / 464.3 MB, free: 29.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.4401, allocations: 0.6678 MB / 465 MB, free: 29.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.4402, allocations: 35.61 kB / 465 MB, free: 29.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.4405, allocations: 483.9 kB / 465.5 MB, free: 28.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.4406, allocations: 191.4 kB / 465.7 MB, free: 28.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002967/0.4409, allocations: 198.8 kB / 465.9 MB, free: 28.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4411, allocations: 0.5818 MB / 466.5 MB, free: 28.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.4416, allocations: 201.1 kB / 466.6 MB, free: 28.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.4423, allocations: 0.7707 MB / 467.4 MB, free: 27.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.4434, allocations: 0.912 MB / 468.3 MB, free: 26.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.4434, allocations: 3.312 kB / 468.3 MB, free: 26.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001573/0.4449, allocations: 0.8503 MB / 469.2 MB, free: 26.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.445, allocations: 10.66 kB / 469.2 MB, free: 26.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.445, allocations: 13.31 kB / 469.2 MB, free: 26.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003486/0.4453, allocations: 73.38 kB / 469.3 MB, free: 26.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.4465, allocations: 287.1 kB / 469.6 MB, free: 26.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.4479, allocations: 2.721 MB / 472.3 MB, free: 24.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.4485, allocations: 40.05 kB / 472.3 MB, free: 24.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.4486, allocations: 40.75 kB / 472.4 MB, free: 24.17 MB / 362.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.000457/0.449, allocations: 274.6 kB / 472.6 MB, free: 24.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.4492, allocations: 89.36 kB / 472.7 MB, free: 23.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.4515, allocations: 1.751 MB / 474.5 MB, free: 23.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.4515, allocations: 33.64 kB / 474.5 MB, free: 23.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4515, allocations: 4.031 kB / 474.5 MB, free: 23.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4515, allocations: 10.06 kB / 474.5 MB, free: 23.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.4547, allocations: 2.556 MB / 477.1 MB, free: 23.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4547, allocations: 0 / 477.1 MB, free: 23.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009291/0.4556, allocations: 206.7 kB / 477.3 MB, free: 23.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/0.456, allocations: 74.94 kB / 477.3 MB, free: 23.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.456, allocations: 18.06 kB / 477.4 MB, free: 23.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.4573, allocations: 2.695 MB / 480.1 MB, free: 20.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4573, allocations: 10.69 kB / 480.1 MB, free: 20.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.4597, allocations: 1.713 MB / 481.8 MB, free: 20.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.46, allocations: 167.6 kB / 481.9 MB, free: 20 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.4601, allocations: 41.08 kB / 482 MB, free: 19.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.4605, allocations: 26.09 kB / 482 MB, free: 19.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.4607, allocations: 56.97 kB / 482.1 MB, free: 19.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.4607, allocations: 17.72 kB / 482.1 MB, free: 19.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006154/0.4613, allocations: 0.5473 MB / 482.6 MB, free: 19.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4613, allocations: 0 / 482.6 MB, free: 19.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005264/0.4666, allocations: 1.099 MB / 483.7 MB, free: 18.61 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: 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.008029/0.4746, allocations: 1.353 MB / 485.1 MB, free: 17.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.4772, allocations: 0.8264 MB / 485.9 MB, free: 16.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4772, allocations: 4 kB / 485.9 MB, free: 16.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.4785, allocations: 0.5358 MB / 486.4 MB, free: 16.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.4806, allocations: 379.4 kB / 486.8 MB, free: 16.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.4838, allocations: 2.216 MB / 489 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4842, allocations: 0.56 MB / 489.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007228/0.4849, allocations: 407.3 kB / 490 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4851, allocations: 68.42 kB / 490.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4851, allocations: 0 / 490.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.0777/0.5628, allocations: 46.87 MB / 0.5243 GB, free: 14.54 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.446526556974277]