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.0009527/0.0009531, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 86.64 kB / 261.7 MB, free: 1.688 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.1993/0.1993, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.611e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1343, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.146, allocations: 419.7 MB / 0.8758 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.147, allocations: 102 kB / 0.8759 GB, free: 17.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4825/1.629, allocations: 118.4 MB / 0.9914 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/1.629, allocations: 0 / 0.9914 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.427e-05/1.629, allocations: 16 kB / 0.9914 GB, free: 109.1 MB / 0.4948 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.002835/1.632, allocations: 0.9796 MB / 0.9924 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.632, allocations: 12.03 kB / 0.9924 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005564/1.633, allocations: 91.02 kB / 0.9925 GB, free: 108 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.634, allocations: 0.5347 MB / 0.993 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/1.634, allocations: 84.7 kB / 0.9931 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.634, allocations: 35.94 kB / 0.9931 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009526/1.635, allocations: 0.5375 MB / 0.9937 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/1.636, allocations: 0.7416 MB / 0.9944 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/1.636, allocations: 3.938 kB / 0.9944 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/1.636, allocations: 4 kB / 0.9944 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/1.637, allocations: 37.3 kB / 0.9944 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/1.641, allocations: 3.984 MB / 0.9983 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/1.641, allocations: 311.3 kB / 0.9986 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/1.641, allocations: 161.4 kB / 0.9988 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/1.642, allocations: 360.5 kB / 0.9991 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/1.642, allocations: 38.84 kB / 0.9992 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/1.642, allocations: 0 / 0.9992 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003103/1.645, allocations: 1.275 MB / 1 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/1.645, allocations: 136.5 kB / 1.001 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/1.645, allocations: 442 kB / 1.001 GB, free: 98.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/1.645, allocations: 25.7 kB / 1.001 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/1.646, allocations: 394.9 kB / 1.001 GB, free: 98.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/1.646, allocations: 134.1 kB / 1.001 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/1.646, allocations: 0 / 1.001 GB, free: 98.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/1.646, allocations: 370.7 kB / 1.002 GB, free: 97.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/1.646, allocations: 201.4 kB / 1.002 GB, free: 97.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/1.646, allocations: 495.3 kB / 1.002 GB, free: 97.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/1.647, allocations: 328.5 kB / 1.003 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.647, allocations: 4 kB / 1.003 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001675/1.649, allocations: 0.8867 MB / 1.004 GB, free: 95.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.649, allocations: 8 kB / 1.004 GB, free: 95.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.649, allocations: 11.95 kB / 1.004 GB, free: 95.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/1.65, allocations: 235.3 kB / 1.004 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/1.65, allocations: 123.8 kB / 1.004 GB, free: 95.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007255/1.651, allocations: 0.8645 MB / 1.005 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006031/1.651, allocations: 36.03 kB / 1.005 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/1.651, allocations: 39.98 kB / 1.005 GB, free: 94.52 MB / 0.4948 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.0001453/1.652, allocations: 148.4 kB / 1.005 GB, free: 94.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.652, allocations: 63.25 kB / 1.005 GB, free: 94.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.653, allocations: 0.5802 MB / 1.006 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.653, allocations: 7.984 kB / 1.006 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.653, allocations: 3.938 kB / 1.006 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.653, allocations: 0 / 1.006 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/1.655, allocations: 1.479 MB / 1.007 GB, free: 92.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/1.655, allocations: 4 kB / 1.007 GB, free: 92.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/1.656, allocations: 191.9 kB / 1.007 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/1.656, allocations: 64.62 kB / 1.007 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/1.656, allocations: 4 kB / 1.007 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/1.658, allocations: 2.679 MB / 1.01 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.658, allocations: 0 / 1.01 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/1.659, allocations: 0.9611 MB / 1.011 GB, free: 87.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.659, allocations: 196.2 kB / 1.011 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.659, allocations: 8 kB / 1.011 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/1.66, allocations: 19.98 kB / 1.011 GB, free: 87.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/1.66, allocations: 39.97 kB / 1.011 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/1.66, allocations: 19.98 kB / 1.011 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004207/1.661, allocations: 322.9 kB / 1.012 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/1.661, allocations: 3.938 kB / 1.012 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001015/1.662, allocations: 207.9 kB / 1.012 GB, free: 87.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * 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.0006255/1.662, allocations: 250.1 kB / 1.012 GB, free: 86.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009289/1.663, allocations: 0.5271 MB / 1.013 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.663, allocations: 4 kB / 1.013 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008721/1.664, allocations: 422.6 kB / 1.013 GB, free: 85.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.665, allocations: 266.2 kB / 1.013 GB, free: 85.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/1.667, allocations: 0.9546 MB / 1.014 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.667, allocations: 0.9497 MB / 1.015 GB, free: 83.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006573/1.668, allocations: 189.3 kB / 1.015 GB, free: 83.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/1.668, allocations: 55.42 kB / 1.015 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/1.668, allocations: 0 / 1.015 GB, free: 83.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.01972/1.688, allocations: 11.81 MB / 1.027 GB, free: 71.68 MB / 0.4948 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