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.001557/0.001557, allocations: 104.8 kB / 17.16 MB, free: 6.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.001824/0.001824, allocations: 190 kB / 18.07 MB, free: 5.414 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.447/1.447, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001821/0.001821, allocations: 51.94 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1198, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04623/0.1661, allocations: 41.07 MB / 367.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1687, allocations: 2.039 MB / 369.7 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1691, allocations: 4 kB / 369.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.1697, allocations: 143.2 kB / 369.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.1703, allocations: 306.4 kB / 370.2 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.171, allocations: 271.5 kB / 370.4 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.1721, allocations: 1.301 MB / 371.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.1723, allocations: 76.67 kB / 371.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.311/0.4832, allocations: 42.96 MB / 414.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.484, allocations: 291.6 kB / 415 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.4841, allocations: 16 kB / 415.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.4843, allocations: 23.75 kB / 415.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.4845, allocations: 73.83 kB / 415.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.4848, allocations: 169.5 kB / 415.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.4854, allocations: 421.6 kB / 415.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4854, allocations: 4 kB / 415.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4854, allocations: 0 / 415.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4854, allocations: 0 / 415.7 MB, free: 2.734 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.001161/0.4866, allocations: 0.581 MB / 416.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.4867, allocations: 12.03 kB / 416.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/0.487, allocations: 42.28 kB / 416.4 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.4874, allocations: 275.3 kB / 416.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.4874, allocations: 16.06 kB / 416.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.4875, allocations: 31.48 kB / 416.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.4879, allocations: 303.3 kB / 417 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.488, allocations: 0 / 417 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.488, allocations: 17.67 kB / 417 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.488, allocations: 4 kB / 417 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.4883, allocations: 195.5 kB / 417.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.4897, allocations: 1.435 MB / 418.6 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.49, allocations: 175.6 kB / 418.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4902, allocations: 87.05 kB / 418.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.4902, allocations: 6.125 kB / 418.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4903, allocations: 47.67 kB / 418.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.4903, allocations: 0 / 418.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002632/0.4929, allocations: 0.9928 MB / 419.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.493, allocations: 55.41 kB / 420 MB, free: 14.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4933, allocations: 256.5 kB / 420.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.4933, allocations: 28.45 kB / 420.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.4934, allocations: 184.8 kB / 420.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.4935, allocations: 91.78 kB / 420.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.4936, allocations: 75.02 kB / 420.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4937, allocations: 332.3 kB / 420.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.4939, allocations: 82.66 kB / 421 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.4941, allocations: 188.5 kB / 421.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.4945, allocations: 290.1 kB / 421.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4945, allocations: 4 kB / 421.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006381/0.4951, allocations: 380.9 kB / 421.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4952, allocations: 8 kB / 421.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4952, allocations: 4 kB / 421.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.4955, allocations: 67.67 kB / 421.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.4958, allocations: 70.06 kB / 422 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.4981, allocations: 2.681 MB / 424.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.4984, allocations: 12 kB / 424.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.4984, allocations: 16 kB / 424.7 MB, free: 10.35 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.0001762/0.4986, allocations: 155.8 kB / 424.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.4987, allocations: 31.72 kB / 424.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.249e-05/0.4987, allocations: 38.17 kB / 424.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4988, allocations: 4 kB / 424.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4988, allocations: 0 / 424.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/0.4995, allocations: 0.5662 MB / 425.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5005, allocations: 0.7009 MB / 426.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5005, allocations: 3.984 kB / 426.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.5008, allocations: 43.55 kB / 426.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.501, allocations: 52.7 kB / 426.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.5011, allocations: 7.984 kB / 426.3 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.5024, allocations: 1.38 MB / 427.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.5024, allocations: 0 / 427.7 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.5032, allocations: 491.8 kB / 428.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.5033, allocations: 100.8 kB / 428.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.5033, allocations: 4 kB / 428.3 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.5035, allocations: 20 kB / 428.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.5036, allocations: 18.78 kB / 428.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.5036, allocations: 8 kB / 428.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.5039, allocations: 186 kB / 428.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5039, allocations: 0 / 428.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004695/0.5043, allocations: 92 kB / 428.6 MB, free: 6.188 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.0001636/0.5045, allocations: 103.3 kB / 428.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008462/0.5054, allocations: 483.5 kB / 429.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5054, allocations: 0.75 kB / 429.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.5058, allocations: 236.2 kB / 429.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.5068, allocations: 155.8 kB / 429.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.5083, allocations: 0.7968 MB / 430.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.5086, allocations: 0.7606 MB / 431.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.5089, allocations: 53.23 kB / 431.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.509, allocations: 23.44 kB / 431.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.509, allocations: 3.094 kB / 431.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Templates: time 0.01057/0.5196, allocations: 5.438 MB / 436.6 MB, free: 14.18 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 -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