Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008559/0.0008561, allocations: 173.6 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 90.3 kB / 272.1 MB, free: 8.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002573, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2497, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04173/0.2915, allocations: 50.88 MB / 427.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.2946, allocations: 2.561 MB / 430.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.295, allocations: 4 kB / 430.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.2956, allocations: 147.2 kB / 430.2 MB, free: 7.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007317/0.2963, allocations: 298.5 kB / 430.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.2971, allocations: 267.5 kB / 430.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.2985, allocations: 1.297 MB / 432.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.2987, allocations: 68.69 kB / 432.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.104/0.4027, allocations: 42.97 MB / 475.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007359/0.4035, allocations: 282.8 kB / 475.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.4036, allocations: 12 kB / 475.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.4039, allocations: 23.98 kB / 475.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001665/0.4041, allocations: 75.67 kB / 475.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.4044, allocations: 189 kB / 475.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.405, allocations: 418.5 kB / 476.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.4051, allocations: 0 / 476.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4051, allocations: 0 / 476.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4051, allocations: 0 / 476.1 MB, free: 9.32 MB / 362.7 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.001067/0.4062, allocations: 0.5302 MB / 476.6 MB, free: 8.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4062, allocations: 8.031 kB / 476.6 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.4065, allocations: 40.64 kB / 476.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.407, allocations: 280.2 kB / 476.9 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.407, allocations: 16.94 kB / 476.9 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.4071, allocations: 28.36 kB / 477 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.4076, allocations: 307.6 kB / 477.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4076, allocations: 0 / 477.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.4077, allocations: 12 kB / 477.3 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4077, allocations: 8 kB / 477.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.408, allocations: 189.6 kB / 477.5 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.4099, allocations: 1.436 MB / 478.9 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.4102, allocations: 190.6 kB / 479.1 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.4104, allocations: 84.84 kB / 479.2 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4104, allocations: 7.969 kB / 479.2 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4105, allocations: 34.56 kB / 479.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.4105, allocations: 0 / 479.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.00262/0.4131, allocations: 1.007 MB / 480.2 MB, free: 4.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4132, allocations: 59.34 kB / 480.3 MB, free: 4.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.4135, allocations: 254.6 kB / 480.5 MB, free: 4.512 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.4135, allocations: 33.7 kB / 480.6 MB, free: 4.473 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4137, allocations: 184.1 kB / 480.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.4137, allocations: 90.66 kB / 480.8 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/0.4138, allocations: 4 kB / 480.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4139, allocations: 338.8 kB / 481.2 MB, free: 3.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4141, allocations: 87.73 kB / 481.2 MB, free: 3.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.4143, allocations: 182.8 kB / 481.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.4147, allocations: 287.8 kB / 481.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4147, allocations: 3.938 kB / 481.7 MB, free: 3.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006648/0.4154, allocations: 378.9 kB / 482.1 MB, free: 2.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4154, allocations: 8 kB / 482.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4154, allocations: 4 kB / 482.1 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.4157, allocations: 61.67 kB / 482.2 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.416, allocations: 67.84 kB / 482.2 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.4185, allocations: 2.681 MB / 484.9 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.4187, allocations: 24.06 kB / 484.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4188, allocations: 8 kB / 484.9 MB, free: 15.72 MB / 378.7 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.0001916/0.419, allocations: 161.6 kB / 485.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.419, allocations: 31.62 kB / 485.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.4191, allocations: 30.33 kB / 485.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4191, allocations: 11.97 kB / 485.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4191, allocations: 0 / 485.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007099/0.4198, allocations: 0.5623 MB / 485.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.4209, allocations: 0.7067 MB / 486.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4209, allocations: 4 kB / 486.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.4211, allocations: 39.92 kB / 486.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.4214, allocations: 60.81 kB / 486.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.4215, allocations: 8 kB / 486.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.4227, allocations: 1.385 MB / 487.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4227, allocations: 4.031 kB / 487.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.4235, allocations: 475.8 kB / 488.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.4236, allocations: 104.8 kB / 488.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.4236, allocations: 7.938 kB / 488.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.4238, allocations: 12 kB / 488.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.4239, allocations: 20.03 kB / 488.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4239, allocations: 19.92 kB / 488.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.4241, allocations: 178 kB / 488.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4241, allocations: 0 / 488.7 MB, free: 11.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.4245, allocations: 92 kB / 488.8 MB, free: 11.5 MB / 378.7 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.0001458/0.4247, allocations: 121 kB / 488.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007797/0.4254, allocations: 465.4 kB / 489.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4255, allocations: 0 / 489.4 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.4259, allocations: 242.4 kB / 489.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.4269, allocations: 152.9 kB / 489.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.4282, allocations: 0.8405 MB / 490.6 MB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.4285, allocations: 0.7645 MB / 491.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.4289, allocations: 62.91 kB / 491.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.4289, allocations: 31.38 kB / 491.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4289, allocations: 0 / 491.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of Templates: time 0.01026/0.4392, allocations: 5.448 MB / 496.9 MB, free: 3.359 MB / 378.7 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