Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 182.8 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.647/1.647, 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.0008992/0.0008992, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.3474/0.3474, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.172, allocations: 420.4 MB / 0.8893 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.172, allocations: 92.17 kB / 0.8894 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5443/1.716, allocations: 119.8 MB / 1.006 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/1.717, allocations: 0 / 1.006 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001227/1.717, allocations: 16.16 kB / 1.006 GB, free: 119.8 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.004168/1.721, allocations: 1.057 MB / 1.007 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/1.721, allocations: 8.031 kB / 1.007 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007477/1.722, allocations: 95.05 kB / 1.008 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/1.723, allocations: 0.5365 MB / 1.008 GB, free: 118 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/1.724, allocations: 104.4 kB / 1.008 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/1.724, allocations: 47.98 kB / 1.008 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.726, allocations: 0.8172 MB / 1.009 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/1.726, allocations: 7.844 kB / 1.009 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/1.726, allocations: 27.98 kB / 1.009 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.222e-05/1.726, allocations: 36.98 kB / 1.009 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/1.727, allocations: 0.6399 MB / 1.01 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/1.732, allocations: 3.929 MB / 1.014 GB, free: 112 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/1.733, allocations: 391.8 kB / 1.014 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/1.733, allocations: 0.5029 MB / 1.014 GB, free: 111 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.733, allocations: 38.89 kB / 1.014 GB, free: 111 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 4.468e-06/1.733, allocations: 4 kB / 1.014 GB, free: 111 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.003385/1.737, allocations: 1.504 MB / 1.016 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/1.737, allocations: 136.5 kB / 1.016 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006273/1.737, allocations: 0.4982 MB / 1.017 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/1.737, allocations: 37.7 kB / 1.017 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/1.738, allocations: 354.9 kB / 1.017 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.738, allocations: 161.8 kB / 1.017 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/1.738, allocations: 8 kB / 1.017 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.738, allocations: 374.8 kB / 1.017 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/1.738, allocations: 221.9 kB / 1.018 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/1.739, allocations: 0.524 MB / 1.018 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/1.739, allocations: 311.8 kB / 1.018 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/1.739, allocations: 3.953 kB / 1.018 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001689/1.741, allocations: 0.9213 MB / 1.019 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.741, allocations: 8 kB / 1.019 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.741, allocations: 8 kB / 1.019 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.742, allocations: 281.1 kB / 1.02 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/1.743, allocations: 119.8 kB / 1.02 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007971/1.743, allocations: 0.8644 MB / 1.021 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/1.744, allocations: 51.97 kB / 1.021 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/1.744, allocations: 36 kB / 1.021 GB, free: 104.3 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.0003696/1.744, allocations: 245.5 kB / 1.021 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.745, allocations: 71.09 kB / 1.021 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/1.746, allocations: 0.7039 MB / 1.022 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.746, allocations: 4 kB / 1.022 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.746, allocations: 0 / 1.022 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.746, allocations: 3.953 kB / 1.022 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/1.748, allocations: 1.383 MB / 1.023 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.748, allocations: 0 / 1.023 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/1.749, allocations: 199.7 kB / 1.023 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/1.749, allocations: 60.94 kB / 1.023 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/1.749, allocations: 16 kB / 1.023 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.751, allocations: 2.801 MB / 1.026 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.751, allocations: 4.031 kB / 1.026 GB, free: 98.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/1.753, allocations: 1.062 MB / 1.027 GB, free: 97.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/1.753, allocations: 208.2 kB / 1.027 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.753, allocations: 12 kB / 1.027 GB, free: 97.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/1.754, allocations: 27.92 kB / 1.027 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.754, allocations: 43.89 kB / 1.027 GB, free: 97.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/1.754, allocations: 19.98 kB / 1.027 GB, free: 97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004635/1.754, allocations: 394.8 kB / 1.028 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/1.754, allocations: 0 / 1.028 GB, free: 96.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001116/1.756, allocations: 220 kB / 1.028 GB, free: 96.4 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.0007317/1.756, allocations: 262.2 kB / 1.028 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001214/1.758, allocations: 0.5893 MB / 1.029 GB, free: 95.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.758, allocations: 3.938 kB / 1.029 GB, free: 95.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.759, allocations: 478.4 kB / 1.029 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.76, allocations: 327 kB / 1.03 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/1.763, allocations: 1.631 MB / 1.031 GB, free: 93.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/1.763, allocations: 0.9503 MB / 1.032 GB, free: 92.08 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008886/1.764, allocations: 201.8 kB / 1.032 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.764, allocations: 63.42 kB / 1.032 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.282e-06/1.764, allocations: 0 / 1.032 GB, free: 91.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.02373/1.788, allocations: 13.59 MB / 1.046 GB, free: 78.27 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches