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.0008309/0.000831, allocations: 95.83 kB / 17.3 MB, free: 5.977 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.0009566/0.0009567, allocations: 180.2 kB / 18.21 MB, free: 5.398 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.439/1.439, allocations: 205.4 MB / 224.4 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.0004796/0.0004798, allocations: 12 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04593/0.148, allocations: 40.15 MB / 369.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1508, allocations: 2.02 MB / 371.1 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.1512, allocations: 4 kB / 371.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.152, allocations: 147.2 kB / 371.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008331/0.1528, allocations: 306.5 kB / 371.6 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.1536, allocations: 251.7 kB / 371.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1552, allocations: 1.301 MB / 373.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.1554, allocations: 72.67 kB / 373.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3209/0.4763, allocations: 42.97 MB / 416.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007904/0.4772, allocations: 272.3 kB / 416.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.4772, allocations: 13.97 kB / 416.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.4774, allocations: 27.67 kB / 416.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.4775, allocations: 71.95 kB / 416.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.4778, allocations: 195.9 kB / 416.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.4783, allocations: 412.5 kB / 417.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4783, allocations: 4 kB / 417.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4783, allocations: 0 / 417.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4783, allocations: 0 / 417.2 MB, free: 1.992 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.0008549/0.4792, allocations: 0.5202 MB / 417.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4792, allocations: 12.03 kB / 417.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.4795, allocations: 46.7 kB / 417.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.4798, allocations: 274 kB / 418 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.4798, allocations: 24.31 kB / 418 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.4799, allocations: 23.94 kB / 418 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.4803, allocations: 307 kB / 418.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4803, allocations: 4 kB / 418.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.4804, allocations: 6.938 kB / 418.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4804, allocations: 11.56 kB / 418.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.4807, allocations: 192.9 kB / 418.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.4822, allocations: 1.44 MB / 420 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.4825, allocations: 177.2 kB / 420.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4827, allocations: 93.59 kB / 420.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.4828, allocations: 6.656 kB / 420.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.4828, allocations: 36.94 kB / 420.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.4828, allocations: 0 / 420.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002702/0.4855, allocations: 1.002 MB / 421.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4856, allocations: 55.41 kB / 421.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.4859, allocations: 260.2 kB / 421.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.486, allocations: 36.23 kB / 421.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.4862, allocations: 178.5 kB / 421.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.4863, allocations: 95.88 kB / 421.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.4863, allocations: 31.77 kB / 421.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4865, allocations: 342.5 kB / 422.3 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4866, allocations: 89.42 kB / 422.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.4869, allocations: 182.8 kB / 422.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.4873, allocations: 287.4 kB / 422.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4873, allocations: 0 / 422.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006896/0.488, allocations: 379.9 kB / 423.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.488, allocations: 8 kB / 423.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.488, allocations: 4.375 kB / 423.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.4884, allocations: 63.92 kB / 423.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.4887, allocations: 66.28 kB / 423.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.4913, allocations: 2.683 MB / 426 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.4916, allocations: 19.09 kB / 426 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.4916, allocations: 15.31 kB / 426.1 MB, free: 9.738 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.0002198/0.4918, allocations: 160.1 kB / 426.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.4919, allocations: 27.66 kB / 426.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.492, allocations: 37.17 kB / 426.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.492, allocations: 0 / 426.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.492, allocations: 7.562 kB / 426.3 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006378/0.4927, allocations: 0.562 MB / 426.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4937, allocations: 0.7066 MB / 427.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4937, allocations: 2.734 kB / 427.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.4939, allocations: 47.05 kB / 427.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.4942, allocations: 63.77 kB / 427.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.4942, allocations: 3.812 kB / 427.7 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.4953, allocations: 1.383 MB / 429 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4953, allocations: 4.031 kB / 429.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.496, allocations: 482.4 kB / 429.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.4961, allocations: 101.1 kB / 429.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.4961, allocations: 7.5 kB / 429.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.4964, allocations: 19.7 kB / 429.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.4964, allocations: 18.95 kB / 429.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.4964, allocations: 11.98 kB / 429.7 MB, free: 6.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.4966, allocations: 190 kB / 429.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4966, allocations: 4.062 kB / 429.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004489/0.4971, allocations: 88 kB / 430 MB, free: 6.062 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.0001493/0.4972, allocations: 99 kB / 430.1 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.498, allocations: 476.2 kB / 430.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.498, allocations: 0 / 430.5 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.4984, allocations: 238 kB / 430.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.4995, allocations: 156.2 kB / 430.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.5008, allocations: 0.858 MB / 431.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.5011, allocations: 0.7606 MB / 432.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.5014, allocations: 54.92 kB / 432.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.5015, allocations: 27.44 kB / 432.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5015, allocations: 0 / 432.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Templates: time 0.01043/0.5119, allocations: 5.451 MB / 438.1 MB, free: 13.98 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