Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008636, allocations: 90.72 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1991/0.1991, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.948e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9589/1.102, allocations: 303.2 MB / 0.7978 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.102, allocations: 85.44 kB / 0.7979 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6556/1.758, allocations: 155.2 MB / 0.9495 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/1.758, allocations: 2.156 kB / 0.9495 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.967e-05/1.758, allocations: 29.38 kB / 0.9495 GB, free: 139.5 MB / 0.5261 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.00292/1.761, allocations: 1.064 MB / 0.9505 GB, free: 139 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.761, allocations: 11.75 kB / 0.9505 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000717/1.762, allocations: 116.6 kB / 0.9507 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.763, allocations: 0.6182 MB / 0.9513 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/1.764, allocations: 251.1 kB / 0.9515 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/1.764, allocations: 73.25 kB / 0.9516 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/1.766, allocations: 1.265 MB / 0.9528 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.766, allocations: 16.66 kB / 0.9528 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/1.766, allocations: 36.34 kB / 0.9529 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/1.766, allocations: 41.66 kB / 0.9529 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/1.767, allocations: 0.906 MB / 0.9538 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005835/1.773, allocations: 6.586 MB / 0.9602 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/1.774, allocations: 299.9 kB / 0.9605 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/1.774, allocations: 162.1 kB / 0.9607 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/1.776, allocations: 2.885 MB / 0.9635 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/1.776, allocations: 38.42 kB / 0.9635 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.454e-06/1.776, allocations: 0 / 0.9635 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002001/1.778, allocations: 1.007 MB / 0.9645 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/1.778, allocations: 55.31 kB / 0.9645 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/1.779, allocations: 0.7631 MB / 0.9653 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/1.779, allocations: 29.27 kB / 0.9653 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/1.78, allocations: 0.5778 MB / 0.9659 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/1.78, allocations: 136.8 kB / 0.966 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/1.78, allocations: 23.47 kB / 0.966 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.78, allocations: 394.8 kB / 0.9664 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/1.78, allocations: 231.1 kB / 0.9666 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/1.781, allocations: 0.9419 MB / 0.9675 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/1.781, allocations: 439.5 kB / 0.968 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.781, allocations: 11.66 kB / 0.968 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001641/1.783, allocations: 1.182 MB / 0.9691 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.783, allocations: 14.03 kB / 0.9691 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/1.783, allocations: 32.56 kB / 0.9692 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-05/1.783, allocations: 34.78 kB / 0.9692 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/1.784, allocations: 283.4 kB / 0.9695 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.652e-05/1.784, allocations: 45.75 kB / 0.9695 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/1.785, allocations: 73.38 kB / 0.9696 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.785, allocations: 81.72 kB / 0.9697 GB, free: 128.3 MB / 0.5261 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.0002318/1.785, allocations: 203.2 kB / 0.9699 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.785, allocations: 86.25 kB / 0.9699 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008416/1.786, allocations: 478.7 kB / 0.9704 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.786, allocations: 7.188 kB / 0.9704 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/1.786, allocations: 0 / 0.9704 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.786, allocations: 0 / 0.9704 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/1.788, allocations: 1.238 MB / 0.9716 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.788, allocations: 3.344 kB / 0.9716 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/1.788, allocations: 67.25 kB / 0.9717 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.788, allocations: 3.906 kB / 0.9717 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/1.788, allocations: 14.86 kB / 0.9717 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.788, allocations: 3.969 kB / 0.9717 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.788, allocations: 0 / 0.9717 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/1.789, allocations: 0.7095 MB / 0.9724 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/1.79, allocations: 206 kB / 0.9726 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.79, allocations: 14.09 kB / 0.9726 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/1.79, allocations: 25.95 kB / 0.9726 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/1.79, allocations: 26.67 kB / 0.9727 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/1.79, allocations: 21.42 kB / 0.9727 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00061/1.791, allocations: 0.5725 MB / 0.9732 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/1.791, allocations: 0 / 0.9732 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001187/1.792, allocations: 323.8 kB / 0.9736 GB, free: 126.8 MB / 0.5261 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.0008699/1.793, allocations: 432.8 kB / 0.974 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008646/1.794, allocations: 0.6263 MB / 0.9746 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.794, allocations: 3 kB / 0.9746 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/1.794, allocations: 138.8 kB / 0.9747 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.796, allocations: 366.6 kB / 0.9751 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.797, allocations: 1.078 MB / 0.9761 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/1.798, allocations: 1.012 MB / 0.9771 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001001/1.799, allocations: 315.3 kB / 0.9774 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/1.799, allocations: 74.06 kB / 0.9775 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/1.799, allocations: 0 / 0.9775 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.02907/1.828, allocations: 16.28 MB / 0.9934 GB, free: 124.4 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches