Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001759/0.001759, allocations: 182.6 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.813/1.813, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009833/0.0009833, 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.2227/0.2227, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002979, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1127, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7721/0.8848, allocations: 302 MB / 0.7737 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/0.8852, allocations: 87.52 kB / 0.7738 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5932/1.478, allocations: 152.8 MB / 0.923 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/1.478, allocations: 1.125 kB / 0.923 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.79e-05/1.479, allocations: 23.34 kB / 0.923 GB, free: 124.7 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002643/1.481, allocations: 1.139 MB / 0.9241 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.481, allocations: 11.72 kB / 0.9241 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005395/1.482, allocations: 121.1 kB / 0.9243 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.483, allocations: 0.62 MB / 0.9249 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/1.483, allocations: 252.5 kB / 0.9251 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.483, allocations: 77.91 kB / 0.9252 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.485, allocations: 1.276 MB / 0.9264 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.485, allocations: 16.88 kB / 0.9264 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.485, allocations: 35.58 kB / 0.9265 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/1.485, allocations: 44.23 kB / 0.9265 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/1.487, allocations: 0.9282 MB / 0.9274 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/1.493, allocations: 6.584 MB / 0.9339 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/1.493, allocations: 304.5 kB / 0.9341 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/1.495, allocations: 2.838 MB / 0.9369 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.495, allocations: 36.7 kB / 0.937 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/1.495, allocations: 2.844 kB / 0.937 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.002308/1.498, allocations: 1.091 MB / 0.938 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.498, allocations: 62.59 kB / 0.9381 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008296/1.499, allocations: 0.772 MB / 0.9388 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/1.499, allocations: 32.61 kB / 0.9389 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/1.499, allocations: 0.5765 MB / 0.9394 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/1.499, allocations: 134.5 kB / 0.9396 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/1.499, allocations: 27.91 kB / 0.9396 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/1.499, allocations: 394.7 kB / 0.94 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/1.499, allocations: 239.9 kB / 0.9402 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/1.5, allocations: 0.9487 MB / 0.9411 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/1.501, allocations: 448.3 kB / 0.9415 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/1.501, allocations: 7.812 kB / 0.9416 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001627/1.502, allocations: 1.19 MB / 0.9427 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.502, allocations: 18.22 kB / 0.9427 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.502, allocations: 29.52 kB / 0.9428 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/1.502, allocations: 43.81 kB / 0.9428 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/1.503, allocations: 276.5 kB / 0.9431 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/1.503, allocations: 54.36 kB / 0.9431 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008055/1.504, allocations: 70.67 kB / 0.9432 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/1.504, allocations: 77.17 kB / 0.9433 GB, free: 113.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003702/1.505, allocations: 334 kB / 0.9436 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.505, allocations: 88.22 kB / 0.9437 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/1.505, allocations: 482.2 kB / 0.9441 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.506, allocations: 5.484 kB / 0.9441 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.506, allocations: 0 / 0.9441 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.506, allocations: 0 / 0.9441 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/1.507, allocations: 1.234 MB / 0.9453 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/1.507, allocations: 3.844 kB / 0.9453 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/1.507, allocations: 67.84 kB / 0.9454 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.507, allocations: 7.922 kB / 0.9454 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/1.507, allocations: 13.72 kB / 0.9454 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/1.507, allocations: 1.5 kB / 0.9454 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.507, allocations: 7.578 kB / 0.9454 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/1.508, allocations: 0.7075 MB / 0.9461 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/1.509, allocations: 210.5 kB / 0.9463 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.509, allocations: 10.7 kB / 0.9463 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/1.509, allocations: 30 kB / 0.9464 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/1.509, allocations: 21.72 kB / 0.9464 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/1.509, allocations: 26.42 kB / 0.9464 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000641/1.51, allocations: 0.5816 MB / 0.947 GB, free: 112 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.51, allocations: 0 / 0.947 GB, free: 112 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001246/1.511, allocations: 314.2 kB / 0.9473 GB, free: 112 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008807/1.512, allocations: 440 kB / 0.9477 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008966/1.513, allocations: 0.6212 MB / 0.9483 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.513, allocations: 3.938 kB / 0.9483 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/1.513, allocations: 139.9 kB / 0.9484 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/1.516, allocations: 389.4 kB / 0.9488 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/1.518, allocations: 1.745 MB / 0.9505 GB, free: 111 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/1.519, allocations: 1.01 MB / 0.9515 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001106/1.52, allocations: 324.8 kB / 0.9518 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/1.52, allocations: 78.8 kB / 0.9519 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.193e-06/1.52, allocations: 0 / 0.9519 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.02565/1.546, allocations: 15.92 MB / 0.9674 GB, free: 109.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches