Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 113.2 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 194.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2259/0.2259, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1235, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04824/0.1718, allocations: 39.04 MB / 0.5267 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3094/0.4813, allocations: 20.15 MB / 0.5464 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.4823, allocations: 18.66 kB / 0.5464 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.4838, allocations: 450.2 kB / 0.5468 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.4992, allocations: 5.105 MB / 0.5518 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008298/0.5075, allocations: 2.562 MB / 0.5543 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.5105, allocations: 1.961 MB / 0.5562 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.5112, allocations: 487.6 kB / 0.5567 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008978/0.5202, allocations: 4.144 MB / 0.5607 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009824/0.5301, allocations: 5.423 MB / 0.566 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.5304, allocations: 66.78 kB / 0.5661 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.5476, allocations: 7.236 MB / 0.5731 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006798/0.5483, allocations: 274.5 kB / 0.5734 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.5495, allocations: 447.8 kB / 0.5738 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.5631, allocations: 4.958 MB / 0.5787 GB, free: 8.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5632, allocations: 0 / 0.5787 GB, free: 8.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5632, allocations: 0 / 0.5787 GB, free: 8.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.5633, allocations: 0 / 0.5787 GB, free: 8.441 MB / 430.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.005371/0.5686, allocations: 1.625 MB / 0.5803 GB, free: 7.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.5687, allocations: 8.031 kB / 0.5803 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.5704, allocations: 227.1 kB / 0.5805 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5715, allocations: 0.5708 MB / 0.581 GB, free: 6.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.5716, allocations: 111.5 kB / 0.5812 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5717, allocations: 56.62 kB / 0.5812 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.5738, allocations: 1.07 MB / 0.5822 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.5738, allocations: 19.86 kB / 0.5823 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.5739, allocations: 27.73 kB / 0.5823 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.27e-05/0.574, allocations: 40.98 kB / 0.5823 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.5757, allocations: 0.8232 MB / 0.5831 GB, free: 4.578 MB / 430.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.006074/0.5818, allocations: 5.545 MB / 0.5886 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.583, allocations: 0.5372 MB / 0.5891 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.5834, allocations: 211 kB / 0.5893 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09827/0.6817, allocations: 47.66 MB / 0.6358 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.6818, allocations: 42.56 kB / 0.6359 GB, free: 8.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 2.695e-06/0.6818, allocations: 0 / 0.6359 GB, free: 8.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.007205/0.689, allocations: 2.123 MB / 0.6379 GB, free: 6.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/0.6891, allocations: 187.9 kB / 0.6381 GB, free: 6.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.69, allocations: 0.6406 MB / 0.6387 GB, free: 5.594 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.6901, allocations: 41.77 kB / 0.6388 GB, free: 5.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.6904, allocations: 396.7 kB / 0.6392 GB, free: 5.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.6906, allocations: 160.7 kB / 0.6393 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.6909, allocations: 158.5 kB / 0.6395 GB, free: 4.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.691, allocations: 382.8 kB / 0.6398 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6915, allocations: 229.9 kB / 0.6401 GB, free: 4.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/0.6923, allocations: 0.5977 MB / 0.6406 GB, free: 3.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.6934, allocations: 0.8608 MB / 0.6415 GB, free: 2.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.6934, allocations: 7.938 kB / 0.6415 GB, free: 2.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001503/0.6949, allocations: 0.8997 MB / 0.6424 GB, free: 1.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.695, allocations: 8 kB / 0.6424 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.695, allocations: 12 kB / 0.6424 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/0.6985, allocations: 264.5 kB / 0.6426 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.6998, allocations: 288 kB / 0.6429 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.7018, allocations: 2.111 MB / 0.645 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.7025, allocations: 40.09 kB / 0.645 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.7026, allocations: 40 kB / 0.645 GB, free: 14.61 MB / 0.4981 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.0004907/0.7031, allocations: 281.4 kB / 0.6453 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.7034, allocations: 71.16 kB / 0.6454 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.7062, allocations: 2.01 MB / 0.6473 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7062, allocations: 3.984 kB / 0.6473 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.7062, allocations: 3.938 kB / 0.6474 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.7067, allocations: 219.7 kB / 0.6476 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.707, allocations: 31.75 kB / 0.6476 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005669/0.7076, allocations: 15.98 kB / 0.6476 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.7077, allocations: 36.33 kB / 0.6476 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002315/0.71, allocations: 1.39 MB / 0.649 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002145/0.7122, allocations: 1.887 MB / 0.6508 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005533/0.7127, allocations: 0.4962 MB / 0.6513 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008149/0.7136, allocations: 0.5693 MB / 0.6519 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of Backend: time 3.41e-07/0.7136, allocations: 0 / 0.6519 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.7241, allocations: 1.974 MB / 0.6538 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004528/0.7287, allocations: 2.398 MB / 0.6562 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.07334/0.8021, allocations: 50.06 MB / 0.705 GB, free: 1.207 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches