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.001068/0.001068, allocations: 108.4 kB / 18.4 MB, free: 4.688 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.001001/0.001001, allocations: 190.1 kB / 19.34 MB, free: 3.766 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.256/1.256, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00119/0.00119, allocations: 55.92 kB / 329.3 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07322/0.07442, allocations: 46.62 MB / 375.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.1823/0.2568, allocations: 39.25 MB / 415.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.2594, allocations: 2.037 MB / 417.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.2597, allocations: 4.531 kB / 417.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.2603, allocations: 169.4 kB / 417.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.2609, allocations: 317.4 kB / 417.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.2616, allocations: 282.1 kB / 417.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009803/0.2626, allocations: 0.8359 MB / 418.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.2628, allocations: 112.3 kB / 418.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1011/0.3639, allocations: 44.1 MB / 463 MB, free: 8.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005591/0.3645, allocations: 271.8 kB / 463.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.3646, allocations: 32 kB / 463.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3648, allocations: 36 kB / 463.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3649, allocations: 87.72 kB / 463.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3651, allocations: 183.2 kB / 463.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.3656, allocations: 438.6 kB / 464 MB, free: 7.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3656, allocations: 0 / 464 MB, free: 7.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3656, allocations: 4 kB / 464 MB, free: 7.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3656, allocations: 4 kB / 464 MB, free: 7.051 MB / 382.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.0009101/0.3665, allocations: 0.5777 MB / 464.6 MB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3666, allocations: 8.031 kB / 464.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.3669, allocations: 44.64 kB / 464.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.3673, allocations: 287.7 kB / 464.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3673, allocations: 20.94 kB / 464.9 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.3674, allocations: 27.12 kB / 464.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.3679, allocations: 299.7 kB / 465.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3679, allocations: 7.938 kB / 465.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.3679, allocations: 8 kB / 465.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.368, allocations: 8 kB / 465.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.3683, allocations: 197.6 kB / 465.5 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.37, allocations: 1.436 MB / 466.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.3703, allocations: 182.6 kB / 467.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.3705, allocations: 84.84 kB / 467.2 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3705, allocations: 7.984 kB / 467.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3705, allocations: 42.5 kB / 467.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.3705, allocations: 0 / 467.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002409/0.3729, allocations: 1.007 MB / 468.2 MB, free: 2.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.373, allocations: 55.41 kB / 468.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.3732, allocations: 258.6 kB / 468.5 MB, free: 2.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.3733, allocations: 29.7 kB / 468.5 MB, free: 2.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3734, allocations: 180.2 kB / 468.7 MB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.3735, allocations: 90.64 kB / 468.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3736, allocations: 65.61 kB / 468.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3737, allocations: 342.8 kB / 469.2 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3738, allocations: 87.95 kB / 469.3 MB, free: 1.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3741, allocations: 174.9 kB / 469.5 MB, free: 1.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.3745, allocations: 286.9 kB / 469.7 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3745, allocations: 0 / 469.7 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006576/0.3752, allocations: 390.6 kB / 470.1 MB, free: 456 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3752, allocations: 8 kB / 470.1 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3752, allocations: 4 kB / 470.1 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.3755, allocations: 62.03 kB / 470.2 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.3758, allocations: 71.91 kB / 470.3 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.378, allocations: 2.882 MB / 473.2 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.3783, allocations: 15.94 kB / 473.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3783, allocations: 12 kB / 473.2 MB, free: 13.11 MB / 398.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.3785, allocations: 159 kB / 473.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.3785, allocations: 23.72 kB / 473.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.3786, allocations: 42.23 kB / 473.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.3793, allocations: 0.5552 MB / 474 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3793, allocations: 0 / 474 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.3794, allocations: 108.7 kB / 474.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.3794, allocations: 4 kB / 474.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3796, allocations: 7.875 kB / 474.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3797, allocations: 23.97 kB / 474.1 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007389/0.3804, allocations: 350 kB / 474.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000571/0.381, allocations: 0.4946 MB / 474.9 MB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001394/0.3811, allocations: 103.9 kB / 475 MB, free: 11.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3813, allocations: 182 kB / 475.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.3813, allocations: 0 / 475.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009749/0.3823, allocations: 496.8 kB / 475.7 MB, free: 10.42 MB / 398.1 MB Notification: Performance of SimCode: time 0.001467/0.3838, allocations: 1.139 MB / 476.8 MB, free: 9.234 MB / 398.1 MB Notification: Performance of Templates: time 0.009387/0.3932, allocations: 5.274 MB / 482.1 MB, free: 3.957 MB / 398.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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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