Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 110 kB / 17.03 MB, free: 6.102 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.001243/0.001243, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.506/1.506, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2022/0.2022, allocations: 43.52 MB / 314.7 MB, free: 476 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.001448/0.001448, allocations: 71.27 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1033, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04707/0.1504, allocations: 43.95 MB / 485.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.1568, allocations: 4.358 MB / 490.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006156/0.1575, allocations: 19.88 kB / 490.3 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009421/0.1584, allocations: 318 kB / 490.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.1604, allocations: 0.8511 MB / 491.5 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.1628, allocations: 0.9028 MB / 492.4 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1653, allocations: 1.786 MB / 494.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007332/0.166, allocations: 457.3 kB / 494.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1145/0.2806, allocations: 44.51 MB / 0.5265 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2322/0.5128, allocations: 7.944 MB / 0.5342 GB, free: 47.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003627/0.5132, allocations: 62.81 kB / 0.5343 GB, free: 47.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02769/0.5409, allocations: 10.67 MB / 0.5447 GB, free: 44.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006393/0.5416, allocations: 259.8 kB / 0.545 GB, free: 44.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007805/0.5424, allocations: 393.1 kB / 0.5453 GB, free: 44.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.5445, allocations: 1.083 MB / 0.5464 GB, free: 44.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5445, allocations: 1.094 kB / 0.5464 GB, free: 44.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5445, allocations: 0 / 0.5464 GB, free: 44.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.5445, allocations: 0 / 0.5464 GB, free: 44.08 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00288/0.5474, allocations: 1.049 MB / 0.5474 GB, free: 43.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5475, allocations: 13.73 kB / 0.5474 GB, free: 43.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/0.548, allocations: 99.03 kB / 0.5475 GB, free: 43.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5492, allocations: 0.526 MB / 0.548 GB, free: 43.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.5493, allocations: 108 kB / 0.5481 GB, free: 43.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5494, allocations: 45.34 kB / 0.5482 GB, free: 43.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.5512, allocations: 0.8209 MB / 0.549 GB, free: 43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.5513, allocations: 4.656 kB / 0.549 GB, free: 43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.5514, allocations: 21.91 kB / 0.549 GB, free: 43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.5515, allocations: 39.12 kB / 0.5491 GB, free: 43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.553, allocations: 0.6451 MB / 0.5497 GB, free: 43 MB / 414.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.005671/0.5586, allocations: 4.213 MB / 0.5538 GB, free: 40.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.5596, allocations: 419.8 kB / 0.5542 GB, free: 40.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.5599, allocations: 211.5 kB / 0.5544 GB, free: 40.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.5603, allocations: 0.4984 MB / 0.5549 GB, free: 39.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.5603, allocations: 36.67 kB / 0.5549 GB, free: 39.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.244e-06/0.5603, allocations: 1.969 kB / 0.5549 GB, free: 39.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.002921/0.5632, allocations: 1.52 MB / 0.5564 GB, free: 39.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.5633, allocations: 138.1 kB / 0.5565 GB, free: 39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.5638, allocations: 0.5752 MB / 0.5571 GB, free: 38.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.5639, allocations: 36.89 kB / 0.5571 GB, free: 38.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.564, allocations: 352.7 kB / 0.5575 GB, free: 38.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.5641, allocations: 167.3 kB / 0.5576 GB, free: 38.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.5643, allocations: 137.5 kB / 0.5578 GB, free: 38.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.5644, allocations: 380.6 kB / 0.5581 GB, free: 38.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.5647, allocations: 225.2 kB / 0.5583 GB, free: 38.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.5652, allocations: 0.5237 MB / 0.5589 GB, free: 37.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.5659, allocations: 0.774 MB / 0.5596 GB, free: 37.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5659, allocations: 3.062 kB / 0.5596 GB, free: 37.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001896/0.5678, allocations: 0.9402 MB / 0.5605 GB, free: 37.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.5679, allocations: 8.812 kB / 0.5605 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5679, allocations: 11.38 kB / 0.5605 GB, free: 37.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.5693, allocations: 265.5 kB / 0.5608 GB, free: 37.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.5699, allocations: 130.5 kB / 0.5609 GB, free: 37.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.571, allocations: 0.8622 MB / 0.5618 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.5717, allocations: 24.86 kB / 0.5618 GB, free: 36.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.85e-05/0.5718, allocations: 37.41 kB / 0.5618 GB, free: 36.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004001/0.5722, allocations: 244.1 kB / 0.5621 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.5724, allocations: 72.12 kB / 0.5621 GB, free: 36.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.5741, allocations: 0.7108 MB / 0.5628 GB, free: 36.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.5741, allocations: 12.31 kB / 0.5628 GB, free: 36.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5742, allocations: 0 / 0.5628 GB, free: 36.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5742, allocations: 2.953 kB / 0.5628 GB, free: 36.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.5766, allocations: 1.399 MB / 0.5642 GB, free: 36.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.5766, allocations: 6.469 kB / 0.5642 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.5779, allocations: 194.1 kB / 0.5644 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/0.5782, allocations: 56.81 kB / 0.5644 GB, free: 36.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.5783, allocations: 16.78 kB / 0.5645 GB, free: 36.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.5805, allocations: 2.976 MB / 0.5674 GB, free: 33.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5805, allocations: 6.297 kB / 0.5674 GB, free: 33.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.5825, allocations: 1.003 MB / 0.5684 GB, free: 33.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.5831, allocations: 199 kB / 0.5685 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5832, allocations: 18.72 kB / 0.5686 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.5838, allocations: 13.41 kB / 0.5686 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5839, allocations: 38.94 kB / 0.5686 GB, free: 33.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.584, allocations: 24.02 kB / 0.5686 GB, free: 33.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006738/0.5847, allocations: 422.6 kB / 0.569 GB, free: 32.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5847, allocations: 0 / 0.569 GB, free: 32.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001212/0.5859, allocations: 211 kB / 0.5692 GB, free: 32.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006065/0.5865, allocations: 236.2 kB / 0.5695 GB, free: 32.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.5878, allocations: 0.6097 MB / 0.5701 GB, free: 32.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5878, allocations: 0 / 0.5701 GB, free: 32.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.5889, allocations: 488.8 kB / 0.5705 GB, free: 32.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.5905, allocations: 370.5 kB / 0.5709 GB, free: 32.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.5927, allocations: 1.402 MB / 0.5722 GB, free: 32.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.5932, allocations: 0.9388 MB / 0.5732 GB, free: 31.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007859/0.594, allocations: 217.8 kB / 0.5734 GB, free: 31.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.5942, allocations: 60.02 kB / 0.5734 GB, free: 31.33 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5942, allocations: 2.594 kB / 0.5734 GB, free: 31.33 MB / 414.1 MB Notification: Performance of Templates: time 0.0227/0.6169, allocations: 15.11 MB / 0.5882 GB, free: 17.98 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches