Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001562/0.001562, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001726/0.001726, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2387/0.2387, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 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.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 59.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3503, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04228/0.3926, allocations: 35.87 MB / 0.5969 GB, free: 152 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02476/0.4173, allocations: 18.05 MB / 0.6145 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.4181, allocations: 35.69 kB / 0.6145 GB, free: 14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.4196, allocations: 405.5 kB / 0.6149 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.4338, allocations: 5.135 MB / 0.6199 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007915/0.4417, allocations: 2.54 MB / 0.6224 GB, free: 5.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003004/0.4447, allocations: 1.985 MB / 0.6243 GB, free: 3.941 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.4453, allocations: 409.7 kB / 0.6247 GB, free: 3.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008983/0.4543, allocations: 4.168 MB / 0.6288 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4653, allocations: 5.49 MB / 0.6342 GB, free: 9.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.4655, allocations: 64 kB / 0.6342 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01535/0.4808, allocations: 7.204 MB / 0.6413 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.4814, allocations: 279.2 kB / 0.6415 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007451/0.4822, allocations: 374.4 kB / 0.6419 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.494, allocations: 4.98 MB / 0.6468 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.494, allocations: 7.938 kB / 0.6468 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.494, allocations: 0 / 0.6468 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.494, allocations: 0 / 0.6468 GB, free: 12.82 MB / 494.1 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.00464/0.4986, allocations: 1.596 MB / 0.6483 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4987, allocations: 8.031 kB / 0.6483 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.5002, allocations: 224.3 kB / 0.6485 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5013, allocations: 0.4987 MB / 0.649 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.5015, allocations: 160.7 kB / 0.6492 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5016, allocations: 60.12 kB / 0.6492 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.5039, allocations: 1.33 MB / 0.6505 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.5039, allocations: 11.94 kB / 0.6505 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.731e-05/0.504, allocations: 28 kB / 0.6506 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-05/0.5041, allocations: 40.92 kB / 0.6506 GB, free: 8.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.5059, allocations: 0.8155 MB / 0.6514 GB, free: 7.797 MB / 494.1 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.006081/0.512, allocations: 4.494 MB / 0.6558 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.5133, allocations: 0.5154 MB / 0.6563 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.5136, allocations: 206.9 kB / 0.6565 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09507/0.6087, allocations: 26.11 MB / 0.682 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.6088, allocations: 46.25 kB / 0.682 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.6088, allocations: 0 / 0.682 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006851/0.6156, allocations: 2.061 MB / 0.6841 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.6157, allocations: 187.9 kB / 0.6842 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/0.6165, allocations: 0.565 MB / 0.6848 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.6165, allocations: 33.7 kB / 0.6848 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.6168, allocations: 419.9 kB / 0.6852 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.617, allocations: 166.6 kB / 0.6854 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.6172, allocations: 158.6 kB / 0.6855 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.6175, allocations: 370.8 kB / 0.6859 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.6179, allocations: 237.8 kB / 0.6861 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/0.6187, allocations: 0.6611 MB / 0.6868 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.6199, allocations: 0.8646 MB / 0.6876 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.6199, allocations: 4 kB / 0.6876 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001565/0.6215, allocations: 0.9002 MB / 0.6885 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6215, allocations: 12 kB / 0.6885 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.6215, allocations: 12 kB / 0.6885 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003564/0.6251, allocations: 264.5 kB / 0.6888 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.6264, allocations: 283.9 kB / 0.689 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.6285, allocations: 1.995 MB / 0.691 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.629, allocations: 28 kB / 0.691 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.6291, allocations: 48 kB / 0.691 GB, free: 14.35 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005072/0.6296, allocations: 277.9 kB / 0.6913 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.6298, allocations: 75.5 kB / 0.6914 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.6324, allocations: 2.061 MB / 0.6934 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.6324, allocations: 11.98 kB / 0.6934 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6324, allocations: 0 / 0.6934 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.6327, allocations: 155 kB / 0.6936 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6329, allocations: 31.78 kB / 0.6936 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.6333, allocations: 8 kB / 0.6936 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.6333, allocations: 32.38 kB / 0.6936 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002422/0.6358, allocations: 1.41 MB / 0.695 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002539/0.6383, allocations: 1.927 MB / 0.6969 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000584/0.6389, allocations: 420.2 kB / 0.6973 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006924/0.6396, allocations: 0.5068 MB / 0.6978 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of Backend: time 1.4e-07/0.6396, allocations: 0 / 0.6978 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008885/0.6485, allocations: 1.971 MB / 0.6997 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004225/0.6527, allocations: 2.328 MB / 0.702 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of Templates: time 0.3236/0.9763, allocations: 50.18 MB / 0.751 GB, free: 159.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.449047782996786]