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.0009813/0.0009816, allocations: 182.8 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.22/1.22, 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.0007177/0.0007175, allocations: 86.59 kB / 267.1 MB, free: 9.273 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.3126/0.3126, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.104e-05, allocations: 0 / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09832, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.667/0.7653, allocations: 301.9 MB / 0.7676 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.7656, allocations: 80.52 kB / 0.7677 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4602/1.226, allocations: 152.3 MB / 0.9164 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.382e-06/1.226, allocations: 0 / 0.9164 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.275e-05/1.226, allocations: 23.27 kB / 0.9165 GB, free: 106.8 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.001566/1.227, allocations: 1.073 MB / 0.9175 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/1.228, allocations: 9.156 kB / 0.9175 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/1.228, allocations: 121.7 kB / 0.9176 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009301/1.229, allocations: 0.6205 MB / 0.9182 GB, free: 106 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.229, allocations: 247.1 kB / 0.9185 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.229, allocations: 78.84 kB / 0.9185 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/1.231, allocations: 1.258 MB / 0.9198 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/1.231, allocations: 13.59 kB / 0.9198 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/1.231, allocations: 39.97 kB / 0.9198 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/1.231, allocations: 41.98 kB / 0.9199 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/1.232, allocations: 0.9108 MB / 0.9208 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/1.237, allocations: 6.572 MB / 0.9272 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/1.237, allocations: 297.7 kB / 0.9275 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/1.237, allocations: 167.6 kB / 0.9276 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/1.239, allocations: 2.882 MB / 0.9304 GB, free: 98.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/1.239, allocations: 39.08 kB / 0.9305 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/1.239, allocations: 0 / 0.9305 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.001537/1.24, allocations: 1.016 MB / 0.9315 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/1.24, allocations: 58.7 kB / 0.9315 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/1.241, allocations: 0.7581 MB / 0.9323 GB, free: 97.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/1.241, allocations: 40.42 kB / 0.9323 GB, free: 97.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/1.241, allocations: 0.567 MB / 0.9328 GB, free: 97.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/1.241, allocations: 133.4 kB / 0.933 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/1.242, allocations: 23.62 kB / 0.933 GB, free: 96.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/1.242, allocations: 398.4 kB / 0.9334 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/1.242, allocations: 234.4 kB / 0.9336 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/1.242, allocations: 0.9432 MB / 0.9345 GB, free: 95.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/1.243, allocations: 446.1 kB / 0.9349 GB, free: 95.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.243, allocations: 6.875 kB / 0.935 GB, free: 95.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001473/1.244, allocations: 1.174 MB / 0.9361 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.245, allocations: 18.78 kB / 0.9361 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/1.245, allocations: 26.16 kB / 0.9361 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/1.245, allocations: 37.72 kB / 0.9362 GB, free: 95.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/1.245, allocations: 275.6 kB / 0.9364 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.729e-05/1.245, allocations: 54.08 kB / 0.9365 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/1.246, allocations: 73.89 kB / 0.9366 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/1.246, allocations: 77.19 kB / 0.9366 GB, free: 95.43 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 () * 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.0001491/1.246, allocations: 206 kB / 0.9368 GB, free: 95.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.246, allocations: 87.28 kB / 0.9369 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/1.247, allocations: 475.1 kB / 0.9374 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.247, allocations: 4.344 kB / 0.9374 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.247, allocations: 3.812 kB / 0.9374 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.247, allocations: 4.5 kB / 0.9374 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/1.248, allocations: 1.227 MB / 0.9386 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.248, allocations: 2.25 kB / 0.9386 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/1.249, allocations: 67.7 kB / 0.9386 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/1.249, allocations: 6.641 kB / 0.9387 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/1.249, allocations: 16.25 kB / 0.9387 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.249, allocations: 2.719 kB / 0.9387 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.249, allocations: 6.094 kB / 0.9387 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/1.249, allocations: 0.705 MB / 0.9394 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/1.25, allocations: 202.5 kB / 0.9396 GB, free: 94.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/1.25, allocations: 17.02 kB / 0.9396 GB, free: 94.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/1.25, allocations: 30.19 kB / 0.9396 GB, free: 94.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/1.25, allocations: 23.47 kB / 0.9396 GB, free: 94.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/1.25, allocations: 26.08 kB / 0.9397 GB, free: 94.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005885/1.251, allocations: 0.5693 MB / 0.9402 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.12e-07/1.251, allocations: 1 kB / 0.9402 GB, free: 93.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001/1.252, allocations: 325.3 kB / 0.9405 GB, free: 93.95 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 () * 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.0006548/1.253, allocations: 420.7 kB / 0.9409 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008193/1.253, allocations: 0.6193 MB / 0.9415 GB, free: 93.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.253, allocations: 2.25 kB / 0.9415 GB, free: 93.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/1.254, allocations: 142.6 kB / 0.9417 GB, free: 93.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.255, allocations: 376.4 kB / 0.942 GB, free: 93.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/1.257, allocations: 1.073 MB / 0.9431 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/1.257, allocations: 1.015 MB / 0.9441 GB, free: 92.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008634/1.258, allocations: 319.3 kB / 0.9444 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.258, allocations: 71.11 kB / 0.9444 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of SimCode: time 4.4e-07/1.258, allocations: 0 / 0.9444 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.02039/1.278, allocations: 16.27 MB / 0.9603 GB, free: 91.12 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