Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008807/0.0008805, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2438/0.2438, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.722/7.861, allocations: 3.12 GB / 3.599 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/7.862, allocations: 96.19 kB / 3.599 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.605/11.47, allocations: 1.138 GB / 4.737 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/11.47, allocations: 0 / 4.737 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.38e-05/11.47, allocations: 26.2 kB / 4.737 GB, free: 47.07 MB / 0.5105 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.006528/11.47, allocations: 1.648 MB / 4.739 GB, free: 45.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/11.47, allocations: 12.03 kB / 4.739 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/11.47, allocations: 86.67 kB / 4.739 GB, free: 45.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/11.48, allocations: 0.5451 MB / 4.739 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.754e-05/11.48, allocations: 99.83 kB / 4.739 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/11.48, allocations: 55.98 kB / 4.739 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/11.48, allocations: 0.8241 MB / 4.74 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/11.48, allocations: 0 / 4.74 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/11.48, allocations: 23.66 kB / 4.74 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/11.48, allocations: 40.22 kB / 4.74 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/11.48, allocations: 0.637 MB / 4.741 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/11.48, allocations: 3.919 MB / 4.745 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007442/11.48, allocations: 409.4 kB / 4.745 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/11.48, allocations: 499.8 kB / 4.745 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/11.48, allocations: 42.45 kB / 4.746 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.975e-06/11.48, allocations: 0 / 4.746 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003058/11.49, allocations: 1.511 MB / 4.747 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/11.49, allocations: 136.5 kB / 4.747 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/11.49, allocations: 0.5019 MB / 4.748 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/11.49, allocations: 33.7 kB / 4.748 GB, free: 36.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/11.49, allocations: 355.2 kB / 4.748 GB, free: 36.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/11.49, allocations: 170.5 kB / 4.748 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/11.49, allocations: 12 kB / 4.748 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000108/11.49, allocations: 369.6 kB / 4.749 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/11.49, allocations: 218.5 kB / 4.749 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/11.49, allocations: 0.5201 MB / 4.749 GB, free: 35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/11.49, allocations: 311 kB / 4.75 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/11.49, allocations: 0 / 4.75 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001598/11.49, allocations: 0.93 MB / 4.75 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/11.49, allocations: 8 kB / 4.75 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/11.49, allocations: 15.98 kB / 4.75 GB, free: 33.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/11.49, allocations: 262.2 kB / 4.751 GB, free: 33.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/11.49, allocations: 126.5 kB / 4.751 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007446/11.49, allocations: 0.8599 MB / 4.752 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/11.49, allocations: 43.55 kB / 4.752 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/11.49, allocations: 36.06 kB / 4.752 GB, free: 32.66 MB / 0.5105 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.0003603/11.49, allocations: 253.6 kB / 4.752 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/11.49, allocations: 67.16 kB / 4.752 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/11.5, allocations: 0.6973 MB / 4.753 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/11.5, allocations: 4 kB / 4.753 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/11.5, allocations: 0 / 4.753 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/11.5, allocations: 0 / 4.753 GB, free: 31.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/11.5, allocations: 1.39 MB / 4.754 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/11.5, allocations: 0 / 4.754 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/11.5, allocations: 196.7 kB / 4.754 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/11.5, allocations: 58.8 kB / 4.754 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/11.5, allocations: 16 kB / 4.754 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/11.5, allocations: 2.815 MB / 4.757 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/11.5, allocations: 0 / 4.757 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/11.5, allocations: 1.06 MB / 4.758 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/11.5, allocations: 201.7 kB / 4.758 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/11.5, allocations: 12 kB / 4.758 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/11.5, allocations: 31.81 kB / 4.758 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/11.5, allocations: 44.98 kB / 4.758 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/11.5, allocations: 19.33 kB / 4.758 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004621/11.5, allocations: 395.3 kB / 4.759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/11.5, allocations: 0 / 4.759 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001135/11.5, allocations: 251.5 kB / 4.759 GB, free: 25.42 MB / 0.5105 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.0008785/11.51, allocations: 391.6 kB / 4.759 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001195/11.51, allocations: 0.5883 MB / 4.76 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/11.51, allocations: 0 / 4.76 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009842/11.51, allocations: 466.5 kB / 4.76 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/11.51, allocations: 323.2 kB / 4.761 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/11.51, allocations: 1.644 MB / 4.762 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/11.51, allocations: 0.9503 MB / 4.763 GB, free: 21.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007333/11.51, allocations: 200.2 kB / 4.763 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/11.51, allocations: 55.42 kB / 4.764 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/11.51, allocations: 0 / 4.764 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.02335/11.54, allocations: 15.58 MB / 4.779 GB, free: 5.523 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches