Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 175.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 100.6 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.388/0.388, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3555, allocations: 61.89 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.782/7.137, allocations: 3.127 GB / 3.636 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/7.137, allocations: 98.5 kB / 3.636 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.022/10.16, allocations: 1.142 GB / 4.778 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.182e-06/10.16, allocations: 0 / 4.778 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.495e-05/10.16, allocations: 23.98 kB / 4.779 GB, free: 16.93 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005405/10.16, allocations: 1.643 MB / 4.78 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/10.16, allocations: 12.03 kB / 4.78 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/10.16, allocations: 91.66 kB / 4.78 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/10.17, allocations: 0.5365 MB / 4.781 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/10.17, allocations: 108.4 kB / 4.781 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/10.17, allocations: 51.89 kB / 4.781 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/10.17, allocations: 0.819 MB / 4.782 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/10.17, allocations: 3.938 kB / 4.782 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/10.17, allocations: 24 kB / 4.782 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/10.17, allocations: 36.98 kB / 4.782 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/10.17, allocations: 0.6283 MB / 4.782 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/10.17, allocations: 3.939 MB / 4.786 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/10.17, allocations: 395.6 kB / 4.787 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/10.17, allocations: 0.4951 MB / 4.787 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/10.17, allocations: 42.88 kB / 4.787 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 2.165e-06/10.17, allocations: 0 / 4.787 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002644/10.17, allocations: 1.502 MB / 4.789 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/10.17, allocations: 136.5 kB / 4.789 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/10.18, allocations: 0.4982 MB / 4.789 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/10.18, allocations: 37.7 kB / 4.789 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/10.18, allocations: 351 kB / 4.79 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/10.18, allocations: 173.6 kB / 4.79 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/10.18, allocations: 11.94 kB / 4.79 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/10.18, allocations: 374.8 kB / 4.79 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/10.18, allocations: 217.9 kB / 4.79 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/10.18, allocations: 0.5087 MB / 4.791 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/10.18, allocations: 320.5 kB / 4.791 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/10.18, allocations: 0 / 4.791 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001385/10.18, allocations: 0.9255 MB / 4.792 GB, free: 2.301 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/10.18, allocations: 11.95 kB / 4.792 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/10.18, allocations: 12 kB / 4.792 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/10.18, allocations: 261.3 kB / 4.792 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/10.18, allocations: 131.8 kB / 4.792 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007461/10.18, allocations: 0.8549 MB / 4.793 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/10.18, allocations: 43.92 kB / 4.793 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/10.18, allocations: 44.05 kB / 4.793 GB, free: 0.9297 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003053/10.18, allocations: 249.5 kB / 4.794 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/10.18, allocations: 67.16 kB / 4.794 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2865/10.47, allocations: 0.7021 MB / 4.794 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/10.47, allocations: 5.031 kB / 4.794 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/10.47, allocations: 2.094 kB / 4.794 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/10.47, allocations: 1.406 kB / 4.794 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/10.47, allocations: 1.386 MB / 4.796 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/10.47, allocations: 2.188 kB / 4.796 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/10.47, allocations: 195.8 kB / 4.796 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/10.47, allocations: 63.78 kB / 4.796 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/10.47, allocations: 16.83 kB / 4.796 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/10.47, allocations: 2.806 MB / 4.799 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/10.47, allocations: 6.5 kB / 4.799 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/10.48, allocations: 1.062 MB / 4.8 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/10.48, allocations: 204.1 kB / 4.8 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/10.48, allocations: 9.781 kB / 4.8 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/10.48, allocations: 26.06 kB / 4.8 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/10.48, allocations: 39.06 kB / 4.8 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/10.48, allocations: 22.42 kB / 4.8 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000399/10.48, allocations: 397.9 kB / 4.8 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/10.48, allocations: 0 / 4.8 GB, free: 62.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009132/10.48, allocations: 240.4 kB / 4.801 GB, free: 62.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006341/10.48, allocations: 389.1 kB / 4.801 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009661/10.48, allocations: 0.6012 MB / 4.802 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/10.48, allocations: 0 / 4.802 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/10.48, allocations: 464.5 kB / 4.802 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/10.48, allocations: 324.6 kB / 4.802 GB, free: 62.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/10.48, allocations: 1.649 MB / 4.804 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/10.48, allocations: 0.9491 MB / 4.805 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006224/10.48, allocations: 204.4 kB / 4.805 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/10.48, allocations: 64.33 kB / 4.805 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/10.48, allocations: 0 / 4.805 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.02195/10.51, allocations: 15.56 MB / 4.82 GB, free: 60.97 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches