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.001552/0.001552, allocations: 109.4 kB / 18.4 MB, free: 4.691 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.001677/0.001677, allocations: 183.1 kB / 19.33 MB, free: 3.777 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.408/1.408, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001433/0.001433, allocations: 56.34 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1008, allocations: 46.63 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2624/0.3632, allocations: 39.25 MB / 415.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.366, allocations: 2.039 MB / 417.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.3663, allocations: 4.5 kB / 417.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.3669, allocations: 168.2 kB / 417.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006525/0.3676, allocations: 318.5 kB / 417.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.3683, allocations: 272 kB / 417.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009822/0.3693, allocations: 0.836 MB / 418.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.3695, allocations: 115.1 kB / 418.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1125/0.482, allocations: 44.1 MB / 463 MB, free: 8.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.4827, allocations: 274.9 kB / 463.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.4828, allocations: 28 kB / 463.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.483, allocations: 36 kB / 463.3 MB, free: 7.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.4831, allocations: 95.7 kB / 463.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.4834, allocations: 183.2 kB / 463.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.4839, allocations: 434.6 kB / 464 MB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4839, allocations: 0 / 464 MB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4839, allocations: 0 / 464 MB, free: 7.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4839, allocations: 0 / 464 MB, free: 7.062 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.0009642/0.4849, allocations: 0.5855 MB / 464.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.485, allocations: 8.031 kB / 464.6 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.4853, allocations: 44.64 kB / 464.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.4858, allocations: 287.7 kB / 464.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4858, allocations: 16.94 kB / 464.9 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.4858, allocations: 28.38 kB / 464.9 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.4863, allocations: 307.6 kB / 465.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4863, allocations: 0 / 465.2 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4864, allocations: 12 kB / 465.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4864, allocations: 8 kB / 465.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.4867, allocations: 197.6 kB / 465.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.4884, allocations: 1.435 MB / 466.9 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.4887, allocations: 182.5 kB / 467.1 MB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.4888, allocations: 88.83 kB / 467.2 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4889, allocations: 7.938 kB / 467.2 MB, free: 3.641 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4889, allocations: 34.56 kB / 467.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.4889, allocations: 4 kB / 467.2 MB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002487/0.4914, allocations: 1.004 MB / 468.2 MB, free: 2.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.4915, allocations: 55.41 kB / 468.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.4917, allocations: 262.6 kB / 468.5 MB, free: 2.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4918, allocations: 25.7 kB / 468.5 MB, free: 2.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4919, allocations: 184.2 kB / 468.7 MB, free: 1.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.492, allocations: 90.64 kB / 468.8 MB, free: 1.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.4921, allocations: 65.61 kB / 468.9 MB, free: 1.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4922, allocations: 338.8 kB / 469.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.4924, allocations: 87.97 kB / 469.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.4926, allocations: 174.9 kB / 469.5 MB, free: 1.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.493, allocations: 287 kB / 469.7 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.493, allocations: 3.938 kB / 469.7 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006653/0.4937, allocations: 390.7 kB / 470.1 MB, free: 460 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4937, allocations: 8 kB / 470.1 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4937, allocations: 4 kB / 470.1 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/0.494, allocations: 61.66 kB / 470.2 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.4943, allocations: 64.28 kB / 470.3 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.4968, allocations: 2.889 MB / 473.1 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4971, allocations: 15.92 kB / 473.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4971, allocations: 16 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.0001933/0.4973, allocations: 151 kB / 473.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.4974, allocations: 23.72 kB / 473.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.586e-05/0.4974, allocations: 42.23 kB / 473.4 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4974, allocations: 0 / 473.4 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.4975, allocations: 4 kB / 473.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006244/0.4981, allocations: 0.5629 MB / 474 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.4991, allocations: 0.703 MB / 474.7 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4991, allocations: 4.031 kB / 474.7 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.4993, allocations: 39.92 kB / 474.7 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002329/0.4996, allocations: 52.78 kB / 474.8 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4996, allocations: 8 kB / 474.8 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.5008, allocations: 1.492 MB / 476.3 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5009, allocations: 8.016 kB / 476.3 MB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.5015, allocations: 476.8 kB / 476.7 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.5017, allocations: 96.86 kB / 476.8 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.5017, allocations: 8 kB / 476.8 MB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.5019, allocations: 4.875 kB / 476.8 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.502, allocations: 20.03 kB / 476.9 MB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.502, allocations: 19.92 kB / 476.9 MB, free: 9.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.5022, allocations: 182 kB / 477.1 MB, free: 8.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5022, allocations: 0 / 477.1 MB, free: 8.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.5026, allocations: 88 kB / 477.1 MB, free: 8.801 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.0001392/0.5028, allocations: 107.2 kB / 477.2 MB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.5036, allocations: 469.6 kB / 477.7 MB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5036, allocations: 0 / 477.7 MB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.504, allocations: 242.8 kB / 477.9 MB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.5049, allocations: 154.2 kB / 478.1 MB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.5062, allocations: 0.7189 MB / 478.8 MB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.5065, allocations: 0.7645 MB / 479.6 MB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.5066, allocations: 31.38 kB / 479.6 MB, free: 6.238 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5066, allocations: 0 / 479.6 MB, free: 6.238 MB / 398.1 MB Notification: Performance of Templates: time 0.008526/0.5152, allocations: 5.985 MB / 485.6 MB, free: 252 kB / 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