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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009606/0.0009609, allocations: 104.9 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.322/0.322, allocations: 43.48 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009954, allocations: 47.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1067, allocations: 57.78 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2282/0.3349, allocations: 40.26 MB / 0.5149 GB, free: 37.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.3544, allocations: 21.24 MB / 0.5357 GB, free: 27.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.3552, allocations: 28 kB / 0.5357 GB, free: 27.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009341/0.3562, allocations: 403.1 kB / 0.5361 GB, free: 27.05 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01/0.3662, allocations: 4.148 MB / 0.5401 GB, free: 25.15 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.3714, allocations: 2.245 MB / 0.5423 GB, free: 23.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.3734, allocations: 2.839 MB / 0.5451 GB, free: 22.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.3738, allocations: 412.8 kB / 0.5455 GB, free: 22.81 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007186/0.381, allocations: 4.042 MB / 0.5494 GB, free: 20.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009772/0.3908, allocations: 5.433 MB / 0.5547 GB, free: 18.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.391, allocations: 35.72 kB / 0.5548 GB, free: 18.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.4053, allocations: 7.128 MB / 0.5617 GB, free: 16.74 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.4059, allocations: 249 kB / 0.562 GB, free: 16.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008147/0.4067, allocations: 419.4 kB / 0.5624 GB, free: 16.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.4187, allocations: 4.943 MB / 0.5672 GB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4187, allocations: 4.906 kB / 0.5672 GB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4187, allocations: 0 / 0.5672 GB, free: 13.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.4188, allocations: 0 / 0.5672 GB, free: 13.88 MB / 394.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.004812/0.4236, allocations: 1.617 MB / 0.5688 GB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4236, allocations: 9.781 kB / 0.5688 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.425, allocations: 223.7 kB / 0.569 GB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007569/0.4257, allocations: 0.5415 MB / 0.5695 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-05/0.4258, allocations: 110.3 kB / 0.5696 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.4259, allocations: 58.86 kB / 0.5697 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.4276, allocations: 1.076 MB / 0.5707 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.4276, allocations: 6.219 kB / 0.5708 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.932e-05/0.4277, allocations: 29.78 kB / 0.5708 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.4277, allocations: 48.61 kB / 0.5708 GB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.4291, allocations: 0.8176 MB / 0.5716 GB, free: 10.86 MB / 394.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.004331/0.4334, allocations: 5.565 MB / 0.5771 GB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.4344, allocations: 0.5372 MB / 0.5776 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.4347, allocations: 211.2 kB / 0.5778 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09236/0.5271, allocations: 47.45 MB / 0.6241 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/0.5272, allocations: 50.42 kB / 0.6242 GB, free: 3.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 2.335e-06/0.5272, allocations: 0 / 0.6242 GB, free: 3.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.006042/0.5332, allocations: 2.122 MB / 0.6262 GB, free: 1.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.5333, allocations: 191.9 kB / 0.6264 GB, free: 1.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.5341, allocations: 0.6406 MB / 0.6271 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.5341, allocations: 33.7 kB / 0.6271 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.5344, allocations: 399.2 kB / 0.6275 GB, free: 124 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.5345, allocations: 165.8 kB / 0.6276 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.5348, allocations: 158.5 kB / 0.6278 GB, free: 15.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5349, allocations: 378.8 kB / 0.6281 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.5353, allocations: 233.9 kB / 0.6284 GB, free: 15.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.5359, allocations: 0.586 MB / 0.6289 GB, free: 14.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.5369, allocations: 0.8638 MB / 0.6298 GB, free: 13.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5369, allocations: 4 kB / 0.6298 GB, free: 13.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001294/0.5382, allocations: 0.8993 MB / 0.6307 GB, free: 12.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5382, allocations: 8 kB / 0.6307 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.5382, allocations: 16.86 kB / 0.6307 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/0.5413, allocations: 268.5 kB / 0.6309 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5425, allocations: 283.5 kB / 0.6312 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.544, allocations: 2.026 MB / 0.6332 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.5445, allocations: 51.97 kB / 0.6332 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.5446, allocations: 36 kB / 0.6333 GB, free: 9.656 MB / 458.7 MB 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.0003244/0.5449, allocations: 287.4 kB / 0.6335 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.5451, allocations: 75.16 kB / 0.6336 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.5472, allocations: 2.01 MB / 0.6356 GB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.5473, allocations: 19.97 kB / 0.6356 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5473, allocations: 4 kB / 0.6356 GB, free: 7.246 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5473, allocations: 3.984 kB / 0.6356 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.5505, allocations: 2.998 MB / 0.6385 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5505, allocations: 3.938 kB / 0.6385 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/0.5514, allocations: 183.8 kB / 0.6387 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.553, allocations: 319.8 kB / 0.639 GB, free: 3.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.5531, allocations: 11.94 kB / 0.639 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.5547, allocations: 2.074 MB / 0.6411 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5547, allocations: 8.219 kB / 0.6411 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.361/0.9157, allocations: 66.64 MB / 0.7061 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.916, allocations: 220.4 kB / 0.7063 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.9161, allocations: 29.56 kB / 0.7064 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.9165, allocations: 47.58 kB / 0.7064 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.9166, allocations: 30.94 kB / 0.7065 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.9167, allocations: 17.31 kB / 0.7065 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006386/0.9173, allocations: 0.5719 MB / 0.707 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9173, allocations: 0 / 0.707 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01028/0.9276, allocations: 3.719 MB / 0.7107 GB, free: 136.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.01996/0.9476, allocations: 2.612 MB / 0.7132 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.9494, allocations: 0.9221 MB / 0.7141 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.9494, allocations: 4.062 kB / 0.7141 GB, free: 135.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.9504, allocations: 0.6383 MB / 0.7147 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.9525, allocations: 385.7 kB / 0.7151 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.9566, allocations: 3.563 MB / 0.7186 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.9571, allocations: 1.158 MB / 0.7197 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007661/0.9579, allocations: 361 kB / 0.7201 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.9581, allocations: 67.47 kB / 0.7201 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.9581, allocations: 0 / 0.7201 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.3558/1.314, allocations: 163.1 MB / 0.8794 GB, free: 140.1 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../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