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.00155/0.00155, allocations: 110.5 kB / 17.73 MB, free: 5.316 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.001682/0.001682, allocations: 187 kB / 18.67 MB, free: 4.387 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.435/1.435, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001271/0.001271, allocations: 51.92 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1012, allocations: 46.62 MB / 375.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2929/0.3942, allocations: 39.25 MB / 414.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.3982, allocations: 2.046 MB / 416.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005711/0.3989, allocations: 8.469 kB / 416.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000922/0.3998, allocations: 169.3 kB / 416.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.4008, allocations: 314.3 kB / 417 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009177/0.4018, allocations: 280.5 kB / 417.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.4033, allocations: 0.8329 MB / 418.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.4036, allocations: 99.02 kB / 418.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1274/0.5311, allocations: 44.11 MB / 462.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.5318, allocations: 275.8 kB / 462.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.5319, allocations: 28 kB / 462.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.5321, allocations: 39.98 kB / 462.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.5322, allocations: 95.66 kB / 462.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.5325, allocations: 175.3 kB / 462.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.5331, allocations: 438.5 kB / 463.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5331, allocations: 0 / 463.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5331, allocations: 0 / 463.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5332, allocations: 0 / 463.3 MB, free: 7.191 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.001064/0.5342, allocations: 0.5962 MB / 463.9 MB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5343, allocations: 12.03 kB / 463.9 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.5346, allocations: 44.73 kB / 464 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.5351, allocations: 287.8 kB / 464.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.5351, allocations: 16.94 kB / 464.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.5352, allocations: 27.12 kB / 464.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.5357, allocations: 311.6 kB / 464.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.5357, allocations: 0 / 464.6 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.5357, allocations: 12 kB / 464.6 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5358, allocations: 8 kB / 464.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.5361, allocations: 193.6 kB / 464.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.5379, allocations: 1.432 MB / 466.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.5383, allocations: 186.4 kB / 466.4 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5385, allocations: 88.92 kB / 466.5 MB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.5385, allocations: 4 kB / 466.5 MB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.5385, allocations: 30.56 kB / 466.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.5385, allocations: 0 / 466.5 MB, free: 3.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002701/0.5412, allocations: 1.016 MB / 467.5 MB, free: 2.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.5413, allocations: 59.41 kB / 467.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.5416, allocations: 258.6 kB / 467.9 MB, free: 2.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5416, allocations: 33.64 kB / 467.9 MB, free: 2.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.5418, allocations: 180.5 kB / 468.1 MB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.5419, allocations: 95.2 kB / 468.2 MB, free: 1.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.542, allocations: 65.66 kB / 468.2 MB, free: 1.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5422, allocations: 338.8 kB / 468.5 MB, free: 1.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.5423, allocations: 79.97 kB / 468.6 MB, free: 1.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.5426, allocations: 186.8 kB / 468.8 MB, free: 1.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.5431, allocations: 279 kB / 469.1 MB, free: 0.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5431, allocations: 3.938 kB / 469.1 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00065/0.5438, allocations: 390.9 kB / 469.5 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.5438, allocations: 11.98 kB / 469.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5438, allocations: 0 / 469.5 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.5441, allocations: 61.67 kB / 469.5 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.5444, allocations: 71.83 kB / 469.6 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/0.5471, allocations: 2.884 MB / 472.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.5473, allocations: 11.94 kB / 472.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5473, allocations: 16.14 kB / 472.5 MB, free: 13.22 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.0002148/0.5475, allocations: 155 kB / 472.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.5476, allocations: 27.86 kB / 472.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.632e-05/0.5477, allocations: 34.19 kB / 472.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5477, allocations: 8.047 kB / 472.7 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5477, allocations: 4 kB / 472.7 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005962/0.5483, allocations: 0.5606 MB / 473.3 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5494, allocations: 0.6991 MB / 474 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5494, allocations: 4 kB / 474 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.5496, allocations: 47.94 kB / 474.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.5498, allocations: 52.75 kB / 474.1 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.5499, allocations: 11.98 kB / 474.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.5513, allocations: 1.484 MB / 475.6 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5513, allocations: 0 / 475.6 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.552, allocations: 481 kB / 476.1 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.5521, allocations: 109.1 kB / 476.2 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.5522, allocations: 3.984 kB / 476.2 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.5523, allocations: 8 kB / 476.2 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.5524, allocations: 19.97 kB / 476.2 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.5524, allocations: 11.94 kB / 476.2 MB, free: 9.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.5526, allocations: 190 kB / 476.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5527, allocations: 0 / 476.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.5531, allocations: 88 kB / 476.5 MB, free: 8.902 MB / 398.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.0001819/0.5533, allocations: 99.19 kB / 476.6 MB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00085/0.5541, allocations: 477.9 kB / 477.1 MB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5541, allocations: 3.938 kB / 477.1 MB, free: 8.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.5545, allocations: 242.4 kB / 477.3 MB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.5555, allocations: 155.6 kB / 477.4 MB, free: 7.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.5569, allocations: 0.7052 MB / 478.2 MB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5573, allocations: 0.7645 MB / 478.9 MB, free: 6.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002684/0.5576, allocations: 58.86 kB / 479 MB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.5577, allocations: 23.44 kB / 479 MB, free: 6.305 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5577, allocations: 0 / 479 MB, free: 6.305 MB / 398.1 MB Notification: Performance of Templates: time 0.01155/0.5692, allocations: 5.733 MB / 484.7 MB, free: 0.5664 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/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","/var/lib/jenkins/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