Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00127/0.00127, allocations: 105.4 kB / 18.45 MB, free: 4.602 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.001403/0.001403, allocations: 184.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.34, allocations: 60.82 MB / 0.5196 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04133/0.3814, allocations: 39.04 MB / 0.5577 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02344/0.4049, allocations: 20.15 MB / 0.5774 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.4059, allocations: 19.88 kB / 0.5774 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.4074, allocations: 453.3 kB / 0.5778 GB, free: 416 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.4212, allocations: 5.132 MB / 0.5828 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006757/0.428, allocations: 2.563 MB / 0.5853 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002552/0.4306, allocations: 1.969 MB / 0.5873 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008733/0.4315, allocations: 481.5 kB / 0.5877 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/0.4416, allocations: 4.152 MB / 0.5918 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.4539, allocations: 5.424 MB / 0.5971 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003604/0.4543, allocations: 68 kB / 0.5971 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.4697, allocations: 7.251 MB / 0.6042 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.4703, allocations: 279.2 kB / 0.6045 GB, free: 4.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.4715, allocations: 442 kB / 0.6049 GB, free: 4.496 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.4847, allocations: 4.962 MB / 0.6098 GB, free: 15.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4848, allocations: 0 / 0.6098 GB, free: 15.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4848, allocations: 3.938 kB / 0.6098 GB, free: 15.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.4849, allocations: 0 / 0.6098 GB, free: 15.52 MB / 478.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.004917/0.4898, allocations: 1.621 MB / 0.6113 GB, free: 13.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4898, allocations: 8.031 kB / 0.6114 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.4916, allocations: 223.8 kB / 0.6116 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4926, allocations: 0.5715 MB / 0.6121 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.4928, allocations: 109.3 kB / 0.6122 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.4929, allocations: 68.11 kB / 0.6123 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.495, allocations: 1.071 MB / 0.6133 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4951, allocations: 7.938 kB / 0.6133 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.4951, allocations: 28 kB / 0.6134 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.509e-05/0.4952, allocations: 44.97 kB / 0.6134 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.497, allocations: 0.8154 MB / 0.6142 GB, free: 10.75 MB / 478.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.005967/0.5029, allocations: 5.557 MB / 0.6196 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5042, allocations: 0.5349 MB / 0.6202 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.5046, allocations: 211 kB / 0.6204 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09854/0.6031, allocations: 47.66 MB / 0.6669 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.6032, allocations: 38.56 kB / 0.6669 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 3.106e-06/0.6032, allocations: 0 / 0.6669 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.00643/0.6097, allocations: 2.141 MB / 0.669 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.6098, allocations: 187.9 kB / 0.6692 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.6106, allocations: 0.6407 MB / 0.6698 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.6107, allocations: 33.7 kB / 0.6699 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.611, allocations: 399.2 kB / 0.6703 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.6111, allocations: 165.7 kB / 0.6704 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.6114, allocations: 158.5 kB / 0.6706 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.6116, allocations: 374.8 kB / 0.6709 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.612, allocations: 237.8 kB / 0.6711 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.6126, allocations: 0.5899 MB / 0.6717 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6136, allocations: 0.8638 MB / 0.6726 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.6136, allocations: 4 kB / 0.6726 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001408/0.615, allocations: 0.8956 MB / 0.6734 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6151, allocations: 8 kB / 0.6735 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.6151, allocations: 12 kB / 0.6735 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/0.6184, allocations: 273.2 kB / 0.6737 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.6196, allocations: 283.5 kB / 0.674 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.6213, allocations: 2.117 MB / 0.6761 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.6218, allocations: 28 kB / 0.6761 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.6219, allocations: 47.98 kB / 0.6761 GB, free: 4.652 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.0003874/0.6223, allocations: 277.5 kB / 0.6764 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.6225, allocations: 71.16 kB / 0.6765 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.6248, allocations: 2.006 MB / 0.6784 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6248, allocations: 3.938 kB / 0.6784 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6249, allocations: 0 / 0.6784 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.6252, allocations: 219.6 kB / 0.6786 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6253, allocations: 35.67 kB / 0.6787 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.6257, allocations: 16 kB / 0.6787 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.6258, allocations: 36.45 kB / 0.6787 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002145/0.628, allocations: 1.39 MB / 0.6801 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002063/0.63, allocations: 1.884 MB / 0.6819 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005628/0.6306, allocations: 0.5002 MB / 0.6824 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000738/0.6314, allocations: 0.5733 MB / 0.683 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Backend: time 6.91e-07/0.6314, allocations: 0 / 0.683 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008618/0.64, allocations: 1.985 MB / 0.6849 GB, free: 11.59 MB / 0.545 GB Notification: Performance of SimCode: time 0.003909/0.6439, allocations: 2.392 MB / 0.6872 GB, free: 9.156 MB / 0.545 GB Notification: Performance of Templates: time 0.338/0.982, allocations: 49.72 MB / 0.7358 GB, free: 196.5 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches