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.001334/0.001334, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.00129/0.00129, allocations: 191 kB / 19.29 MB, free: 3.848 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.409/1.409, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001239/0.001239, allocations: 47.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07682/0.07807, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03959/0.1177, allocations: 39.25 MB / 368 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.12, allocations: 2.031 MB / 370 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1202, allocations: 7.938 kB / 370 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.1207, allocations: 167 kB / 370.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.1212, allocations: 322.2 kB / 370.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.1218, allocations: 279.4 kB / 370.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.1225, allocations: 0.8484 MB / 371.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.1227, allocations: 92.67 kB / 371.7 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2323/0.355, allocations: 44.09 MB / 415.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.3555, allocations: 277.5 kB / 416.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.3556, allocations: 28 kB / 416.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3557, allocations: 38.69 kB / 416.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.743e-05/0.3558, allocations: 91.72 kB / 416.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.356, allocations: 175.2 kB / 416.4 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.3564, allocations: 441.3 kB / 416.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3564, allocations: 0 / 416.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3564, allocations: 4 kB / 416.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3564, allocations: 0 / 416.8 MB, free: 3.062 MB / 318.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.0007473/0.3572, allocations: 0.5797 MB / 417.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3572, allocations: 16.02 kB / 417.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.3575, allocations: 43.03 kB / 417.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3578, allocations: 284.1 kB / 417.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3579, allocations: 19.75 kB / 417.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.3579, allocations: 27.48 kB / 417.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.3583, allocations: 305.1 kB / 418.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3583, allocations: 0 / 418.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.3583, allocations: 15.61 kB / 418.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3583, allocations: 8 kB / 418.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.3586, allocations: 194.1 kB / 418.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3599, allocations: 1.437 MB / 419.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.3601, allocations: 182.6 kB / 419.9 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3602, allocations: 91.92 kB / 420 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3603, allocations: 4 kB / 420 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.168e-05/0.3603, allocations: 34.56 kB / 420.1 MB, free: 64 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.134e-06/0.3603, allocations: 0 / 420.1 MB, free: 64 kB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002382/0.3627, allocations: 0.9986 MB / 421.1 MB, free: 15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3627, allocations: 59.41 kB / 421.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.363, allocations: 250.6 kB / 421.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.363, allocations: 33.7 kB / 421.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3631, allocations: 181.9 kB / 421.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.3632, allocations: 88.78 kB / 421.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3633, allocations: 74.36 kB / 421.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3634, allocations: 338.8 kB / 422.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3636, allocations: 87.16 kB / 422.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3638, allocations: 170.9 kB / 422.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.3641, allocations: 289.5 kB / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3642, allocations: 0 / 422.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006416/0.3648, allocations: 385.9 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3648, allocations: 8 kB / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3648, allocations: 0 / 423 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.3651, allocations: 66.05 kB / 423 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.3654, allocations: 70.75 kB / 423.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.3676, allocations: 2.884 MB / 426 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3678, allocations: 11.94 kB / 426 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.3678, allocations: 16 kB / 426 MB, free: 9.68 MB / 334.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.0001492/0.368, allocations: 143 kB / 426.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.368, allocations: 31.78 kB / 426.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.3681, allocations: 42.11 kB / 426.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3681, allocations: 4 kB / 426.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.3681, allocations: 0 / 426.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005953/0.3687, allocations: 0.57 MB / 426.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.3697, allocations: 0.7067 MB / 427.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3698, allocations: 4 kB / 427.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.37, allocations: 39.08 kB / 427.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.3702, allocations: 56.69 kB / 427.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3702, allocations: 8 kB / 427.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.3714, allocations: 1.488 MB / 429.1 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3714, allocations: 4.062 kB / 429.1 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.3722, allocations: 474.2 kB / 429.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.3722, allocations: 96.86 kB / 429.7 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.3723, allocations: 5.094 kB / 429.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3725, allocations: 12.05 kB / 429.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3725, allocations: 27.2 kB / 429.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3726, allocations: 7.984 kB / 429.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3727, allocations: 189.9 kB / 429.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3727, allocations: 0 / 429.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.3731, allocations: 88 kB / 430 MB, free: 5.43 MB / 334.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 (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): 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.0001153/0.3733, allocations: 100.5 kB / 430.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.374, allocations: 490.7 kB / 430.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.374, allocations: 1.422 kB / 430.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.3744, allocations: 237.7 kB / 430.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/0.3753, allocations: 161 kB / 431 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3764, allocations: 0.6854 MB / 431.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3768, allocations: 0.7666 MB / 432.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.377, allocations: 53.94 kB / 432.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.377, allocations: 31.44 kB / 432.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.377, allocations: 0 / 432.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of Templates: time 0.009456/0.3865, allocations: 5.66 MB / 438.2 MB, free: 13.27 MB / 350.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 -s gbode -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