Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 203 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 225.5 MB / 234.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009943/0.0009944, allocations: 89.02 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 45.15 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.622e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.878/1.014, allocations: 303.5 MB / 0.8001 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.015, allocations: 77.89 kB / 0.8002 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.3017/1.316, allocations: 154.7 MB / 0.9512 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.348e-05/1.317, allocations: 27.98 kB / 0.9513 GB, free: 4.445 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.002724/1.319, allocations: 1.077 MB / 0.9523 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.319, allocations: 8.031 kB / 0.9523 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007293/1.32, allocations: 126.8 kB / 0.9525 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.321, allocations: 0.6158 MB / 0.9531 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/1.322, allocations: 228.2 kB / 0.9533 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/1.322, allocations: 44 kB / 0.9533 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/1.323, allocations: 0.82 MB / 0.9541 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/1.325, allocations: 1.177 MB / 0.9553 GB, free: 104 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.676e-05/1.325, allocations: 7.844 kB / 0.9553 GB, free: 96 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.325, allocations: 8 kB / 0.9553 GB, free: 88 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/1.325, allocations: 41.23 kB / 0.9553 GB, free: 44 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2712/1.596, allocations: 6.703 MB / 0.9619 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/1.597, allocations: 225.1 kB / 0.9621 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/1.597, allocations: 141.1 kB / 0.9622 GB, free: 176.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002338/1.599, allocations: 2.833 MB / 0.965 GB, free: 173.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.599, allocations: 49.45 kB / 0.965 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/1.599, allocations: 0 / 0.965 GB, free: 173.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.001884/1.601, allocations: 0.8497 MB / 0.9659 GB, free: 173.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/1.601, allocations: 66.7 kB / 0.9659 GB, free: 173.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/1.602, allocations: 0.6523 MB / 0.9666 GB, free: 173.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/1.602, allocations: 29.27 kB / 0.9666 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/1.602, allocations: 0.5558 MB / 0.9671 GB, free: 172.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/1.602, allocations: 108.2 kB / 0.9672 GB, free: 172.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/1.602, allocations: 0 / 0.9672 GB, free: 172.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.602, allocations: 382.4 kB / 0.9676 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/1.603, allocations: 217.5 kB / 0.9678 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006863/1.603, allocations: 0.92 MB / 0.9687 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/1.604, allocations: 447.2 kB / 0.9691 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/1.604, allocations: 7.469 kB / 0.9691 GB, free: 171.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001506/1.606, allocations: 1.03 MB / 0.9701 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.606, allocations: 7.656 kB / 0.9702 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.606, allocations: 26.56 kB / 0.9702 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.416e-05/1.606, allocations: 37.84 kB / 0.9702 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/1.606, allocations: 274 kB / 0.9705 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.711e-05/1.606, allocations: 58.27 kB / 0.9705 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/1.607, allocations: 39.09 kB / 0.9706 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/1.607, allocations: 73.33 kB / 0.9706 GB, free: 171.4 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.0001868/1.607, allocations: 173.8 kB / 0.9708 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.608, allocations: 72.62 kB / 0.9709 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/1.608, allocations: 392.2 kB / 0.9712 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.608, allocations: 7.219 kB / 0.9713 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.608, allocations: 0 / 0.9713 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.608, allocations: 0 / 0.9713 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.61, allocations: 0.8807 MB / 0.9721 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.61, allocations: 0 / 0.9721 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/1.61, allocations: 64.16 kB / 0.9722 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/1.61, allocations: 3.906 kB / 0.9722 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/1.61, allocations: 3.094 kB / 0.9722 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/1.61, allocations: 3.5 kB / 0.9722 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.61, allocations: 0 / 0.9722 GB, free: 171 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006975/1.611, allocations: 0.5464 MB / 0.9727 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/1.611, allocations: 182.8 kB / 0.9729 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/1.611, allocations: 7.703 kB / 0.9729 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/1.611, allocations: 7.406 kB / 0.9729 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/1.611, allocations: 20.83 kB / 0.9729 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/1.611, allocations: 26.45 kB / 0.973 GB, free: 170.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004463/1.612, allocations: 452.1 kB / 0.9734 GB, free: 170.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001143/1.613, allocations: 290.5 kB / 0.9737 GB, free: 170.5 MB / 0.5261 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.000786/1.614, allocations: 436.9 kB / 0.9741 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007725/1.615, allocations: 0.5555 MB / 0.9746 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.615, allocations: 7.719 kB / 0.9746 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.615, allocations: 114.8 kB / 0.9747 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.616, allocations: 239.9 kB / 0.975 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/1.618, allocations: 0.9994 MB / 0.9759 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/1.618, allocations: 1.088 MB / 0.977 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/1.618, allocations: 0 / 0.977 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.02057/1.639, allocations: 12.59 MB / 0.9893 GB, free: 169.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches