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.001033/0.001033, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.248/1.248, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008729/0.000873, allocations: 85.14 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3397/0.3397, allocations: 43.46 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.02, allocations: 420.3 MB / 0.8833 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.02, allocations: 88.14 kB / 0.8834 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.497/1.517, allocations: 119.3 MB / 0.9999 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/1.517, allocations: 0 / 0.9999 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.633e-05/1.518, allocations: 19.91 kB / 0.9999 GB, free: 111.1 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.001816/1.519, allocations: 0.9746 MB / 1.001 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.519, allocations: 11.97 kB / 1.001 GB, free: 110 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/1.52, allocations: 95.05 kB / 1.001 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/1.521, allocations: 0.5286 MB / 1.001 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/1.521, allocations: 104.3 kB / 1.002 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/1.521, allocations: 48 kB / 1.002 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/1.522, allocations: 0.8125 MB / 1.002 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.522, allocations: 0 / 1.002 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/1.522, allocations: 23.94 kB / 1.002 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/1.522, allocations: 36.98 kB / 1.002 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/1.523, allocations: 0.6245 MB / 1.003 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/1.526, allocations: 3.933 MB / 1.007 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006357/1.527, allocations: 391.1 kB / 1.007 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/1.527, allocations: 197.5 kB / 1.008 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/1.527, allocations: 0.4989 MB / 1.008 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/1.527, allocations: 34.89 kB / 1.008 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 1.442e-06/1.527, allocations: 3.938 kB / 1.008 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.002219/1.53, allocations: 1.338 MB / 1.009 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.53, allocations: 136.5 kB / 1.009 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/1.53, allocations: 0.493 MB / 1.01 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/1.53, allocations: 37.7 kB / 1.01 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/1.53, allocations: 350.9 kB / 1.01 GB, free: 99.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/1.53, allocations: 157.7 kB / 1.01 GB, free: 99.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/1.53, allocations: 12 kB / 1.01 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/1.53, allocations: 378.8 kB / 1.011 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/1.531, allocations: 217.4 kB / 1.011 GB, free: 99.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/1.531, allocations: 0.5067 MB / 1.012 GB, free: 98.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/1.531, allocations: 309.3 kB / 1.012 GB, free: 98.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.531, allocations: 4 kB / 1.012 GB, free: 98.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001275/1.533, allocations: 0.9102 MB / 1.013 GB, free: 97.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.533, allocations: 12 kB / 1.013 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.533, allocations: 8 kB / 1.013 GB, free: 97.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008913/1.534, allocations: 264.6 kB / 1.013 GB, free: 96.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.534, allocations: 123.8 kB / 1.013 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006348/1.535, allocations: 0.8514 MB / 1.014 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/1.535, allocations: 55.88 kB / 1.014 GB, free: 95.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/1.535, allocations: 32 kB / 1.014 GB, free: 95.87 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 () * 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.0001171/1.535, allocations: 164.7 kB / 1.014 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/1.535, allocations: 63.25 kB / 1.014 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/1.536, allocations: 0.692 MB / 1.015 GB, free: 94.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.536, allocations: 4 kB / 1.015 GB, free: 94.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.536, allocations: 3.953 kB / 1.015 GB, free: 94.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.536, allocations: 3.984 kB / 1.015 GB, free: 94.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.538, allocations: 1.371 MB / 1.016 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.538, allocations: 4 kB / 1.016 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/1.539, allocations: 187.8 kB / 1.016 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/1.539, allocations: 57.06 kB / 1.017 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/1.539, allocations: 19.98 kB / 1.017 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/1.541, allocations: 2.789 MB / 1.019 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.541, allocations: 7.984 kB / 1.019 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.542, allocations: 1.042 MB / 1.02 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/1.542, allocations: 204.2 kB / 1.02 GB, free: 88.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/1.542, allocations: 15.94 kB / 1.02 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/1.542, allocations: 31.89 kB / 1.021 GB, free: 88.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/1.543, allocations: 36.16 kB / 1.021 GB, free: 88.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/1.543, allocations: 23.97 kB / 1.021 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003432/1.543, allocations: 389.5 kB / 1.021 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/1.543, allocations: 0 / 1.021 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007087/1.544, allocations: 219.9 kB / 1.021 GB, free: 88.1 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 () * 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.0004856/1.544, allocations: 265.9 kB / 1.021 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007996/1.545, allocations: 0.5853 MB / 1.022 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.545, allocations: 0 / 1.022 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008634/1.546, allocations: 458.7 kB / 1.022 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.547, allocations: 323.2 kB / 1.023 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/1.548, allocations: 1.008 MB / 1.024 GB, free: 85.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/1.549, allocations: 0.9544 MB / 1.025 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005707/1.549, allocations: 201.8 kB / 1.025 GB, free: 84.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/1.549, allocations: 59.42 kB / 1.025 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/1.549, allocations: 0 / 1.025 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.0169/1.566, allocations: 13.68 MB / 1.038 GB, free: 70.59 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