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.001747/0.001748, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.001197/0.001197, allocations: 99.64 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2645/0.2645, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.781e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1587, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.268, allocations: 302.5 MB / 0.7901 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/1.269, allocations: 82.95 kB / 0.7902 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7381/2.007, allocations: 153.7 MB / 0.9403 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/2.007, allocations: 0 / 0.9403 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001596/2.007, allocations: 26.72 kB / 0.9403 GB, free: 135.2 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003625/2.011, allocations: 1.064 MB / 0.9413 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/2.011, allocations: 14.95 kB / 0.9414 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009955/2.012, allocations: 121.2 kB / 0.9415 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/2.014, allocations: 0.6117 MB / 0.9421 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/2.014, allocations: 220.3 kB / 0.9423 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000261/2.014, allocations: 46 kB / 0.9423 GB, free: 134 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001425/2.016, allocations: 0.7968 MB / 0.9431 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/2.017, allocations: 1.142 MB / 0.9442 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/2.017, allocations: 11.78 kB / 0.9442 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-05/2.017, allocations: 7.938 kB / 0.9442 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/2.017, allocations: 46.62 kB / 0.9443 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005626/2.023, allocations: 6.684 MB / 0.9508 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/2.023, allocations: 251.5 kB / 0.9511 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/2.024, allocations: 135.5 kB / 0.9512 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/2.026, allocations: 2.847 MB / 0.954 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/2.026, allocations: 38.72 kB / 0.954 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/2.026, allocations: 0 / 0.954 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001892/2.028, allocations: 0.8502 MB / 0.9548 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/2.028, allocations: 55.39 kB / 0.9549 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/2.029, allocations: 0.6484 MB / 0.9555 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/2.029, allocations: 25.7 kB / 0.9555 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/2.029, allocations: 0.6087 MB / 0.9561 GB, free: 123 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/2.029, allocations: 111 kB / 0.9562 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/2.029, allocations: 3.938 kB / 0.9562 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000143/2.029, allocations: 393.9 kB / 0.9566 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/2.03, allocations: 208.5 kB / 0.9568 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/2.03, allocations: 0.9069 MB / 0.9577 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/2.031, allocations: 429 kB / 0.9581 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/2.031, allocations: 14.88 kB / 0.9581 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00157/2.033, allocations: 1.019 MB / 0.9591 GB, free: 121 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/2.033, allocations: 14.88 kB / 0.9591 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/2.033, allocations: 26.56 kB / 0.9592 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.244e-05/2.033, allocations: 37.31 kB / 0.9592 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/2.033, allocations: 282.4 kB / 0.9595 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/2.033, allocations: 49.62 kB / 0.9595 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/2.034, allocations: 36.23 kB / 0.9595 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/2.034, allocations: 75.88 kB / 0.9596 GB, free: 120.9 MB / 0.5105 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.0001844/2.034, allocations: 182.8 kB / 0.9598 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/2.035, allocations: 79.84 kB / 0.9599 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/2.035, allocations: 343.8 kB / 0.9602 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/2.035, allocations: 7.188 kB / 0.9602 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.035, allocations: 0 / 0.9602 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/2.035, allocations: 7.891 kB / 0.9602 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/2.037, allocations: 0.8729 MB / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/2.037, allocations: 0 / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/2.037, allocations: 60.28 kB / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/2.037, allocations: 3.781 kB / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/2.037, allocations: 0 / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/2.037, allocations: 3.906 kB / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.037, allocations: 0 / 0.9611 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/2.038, allocations: 0.5469 MB / 0.9617 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/2.038, allocations: 186 kB / 0.9618 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/2.038, allocations: 3.406 kB / 0.9618 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/2.038, allocations: 18.56 kB / 0.9619 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/2.038, allocations: 23.25 kB / 0.9619 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/2.038, allocations: 23.59 kB / 0.9619 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000437/2.039, allocations: 444.3 kB / 0.9623 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/2.039, allocations: 0 / 0.9623 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001232/2.04, allocations: 291.1 kB / 0.9626 GB, free: 119.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 27 * 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.0008411/2.041, allocations: 423.6 kB / 0.963 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007954/2.042, allocations: 0.5469 MB / 0.9635 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.042, allocations: 0 / 0.9635 GB, free: 119 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/2.042, allocations: 118.6 kB / 0.9637 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/2.043, allocations: 249.6 kB / 0.9639 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/2.045, allocations: 0.9876 MB / 0.9649 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/2.045, allocations: 1.01 MB / 0.9658 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008398/2.046, allocations: 285 kB / 0.9661 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/2.046, allocations: 68.66 kB / 0.9662 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/2.046, allocations: 0 / 0.9662 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.01937/2.065, allocations: 11.69 MB / 0.9776 GB, free: 114.4 MB / 0.5105 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