Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.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.00102/0.00102, allocations: 90.67 kB / 16.95 MB, free: 6.109 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.0008848/0.0008848, allocations: 180.9 kB / 17.83 MB, free: 5.727 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.531/1.531, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.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.0005513/0.0005515, allocations: 12 kB / 280.8 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1206, allocations: 47.59 MB / 328.4 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04373/0.1643, allocations: 36.36 MB / 364.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.1673, allocations: 1.919 MB / 366.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1676, allocations: 11.88 kB / 366.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.1682, allocations: 131.3 kB / 366.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.1689, allocations: 294.4 kB / 367.1 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.1698, allocations: 223.6 kB / 367.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1712, allocations: 1.059 MB / 368.4 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.1715, allocations: 72.67 kB / 368.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3717/0.5432, allocations: 73.2 MB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008667/0.5442, allocations: 270.2 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.79e-05/0.5442, allocations: 12 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.5444, allocations: 20 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.5445, allocations: 70.67 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.5447, allocations: 90.42 kB / 442.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.5452, allocations: 333.3 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.5452, allocations: 0 / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.5452, allocations: 0 / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.5452, allocations: 0 / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001209/0.5464, allocations: 0.5163 MB / 442.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.502e-05/0.5465, allocations: 16.02 kB / 442.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.5469, allocations: 36.25 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.5474, allocations: 280 kB / 443.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.5474, allocations: 22.81 kB / 443.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.5475, allocations: 22.5 kB / 443.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.548, allocations: 301.6 kB / 443.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5481, allocations: 0 / 443.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.5481, allocations: 14.12 kB / 443.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.5481, allocations: 9.641 kB / 443.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.5485, allocations: 204.2 kB / 443.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.5503, allocations: 1.431 MB / 445.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.5506, allocations: 174.1 kB / 445.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.5508, allocations: 88.83 kB / 445.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.5508, allocations: 7.062 kB / 445.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.5509, allocations: 30.75 kB / 445.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 3.406e-06/0.5509, allocations: 0 / 445.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002616/0.5535, allocations: 1.007 MB / 446.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.5536, allocations: 63.19 kB / 446.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.5539, allocations: 263.3 kB / 446.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5539, allocations: 32.58 kB / 446.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.554, allocations: 167.8 kB / 447 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.5541, allocations: 98.75 kB / 447.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.5542, allocations: 10.84 kB / 447.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5543, allocations: 336.9 kB / 447.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5544, allocations: 87.94 kB / 447.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.5547, allocations: 174.2 kB / 447.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.5549, allocations: 112.6 kB / 447.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5549, allocations: 0 / 447.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000699/0.5556, allocations: 390.5 kB / 448.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5556, allocations: 7.844 kB / 448.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5556, allocations: 4.375 kB / 448.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.5559, allocations: 66.88 kB / 448.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.5562, allocations: 69.88 kB / 448.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.5586, allocations: 2.68 MB / 451.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.5589, allocations: 22.47 kB / 451.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.5589, allocations: 15.25 kB / 451.1 MB, free: 4.723 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.5591, allocations: 153.9 kB / 451.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.5592, allocations: 29.41 kB / 451.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.5593, allocations: 38.86 kB / 451.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5593, allocations: 0 / 451.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5593, allocations: 4 kB / 451.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/0.5599, allocations: 0.5601 MB / 451.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.5611, allocations: 0.7092 MB / 452.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5611, allocations: 0 / 452.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.5613, allocations: 35.98 kB / 452.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.5616, allocations: 73.98 kB / 452.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.5616, allocations: 11.36 kB / 452.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.5628, allocations: 1.387 MB / 454.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5628, allocations: 0 / 454.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.5636, allocations: 474.7 kB / 454.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5637, allocations: 102.9 kB / 454.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.5637, allocations: 7.125 kB / 454.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.564, allocations: 10.86 kB / 454.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.564, allocations: 19.09 kB / 454.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.5641, allocations: 11.88 kB / 454.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.5643, allocations: 183.6 kB / 454.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5643, allocations: 4.062 kB / 454.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004788/0.5648, allocations: 87.56 kB / 455 MB, free: 1.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002001/0.565, allocations: 108.3 kB / 455.1 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.5658, allocations: 480 kB / 455.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5658, allocations: 0 / 455.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.5662, allocations: 230 kB / 455.8 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.5671, allocations: 160.6 kB / 455.9 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.5684, allocations: 0.8283 MB / 456.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5688, allocations: 0.7645 MB / 457.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.5691, allocations: 58.44 kB / 457.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.5692, allocations: 27.44 kB / 457.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5692, allocations: 3.188 kB / 457.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01092/0.5801, allocations: 5.267 MB / 462.9 MB, free: 9.414 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches