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") [: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 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 187.1 kB / 8.522 MB, free: 1.699 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.4 MB / 230.3 MB, free: 7.738 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.001019/0.001019, allocations: 76.75 kB / 281.2 MB, free: 5.484 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.1897/0.1897, allocations: 44.14 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.654e-06, allocations: 4.219 kB / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 61.9 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7965/0.9333, allocations: 302.4 MB / 0.7894 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.9336, allocations: 83.42 kB / 0.7895 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5201/1.454, allocations: 154.5 MB / 0.9404 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.605e-05/1.454, allocations: 20.22 kB / 0.9404 GB, free: 132.5 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.001893/1.456, allocations: 1.073 MB / 0.9415 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.456, allocations: 7.625 kB / 0.9415 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/1.456, allocations: 120 kB / 0.9416 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.457, allocations: 0.6265 MB / 0.9422 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/1.457, allocations: 221.7 kB / 0.9424 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.458, allocations: 47.09 kB / 0.9425 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001217/1.459, allocations: 0.8165 MB / 0.9433 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/1.46, allocations: 1.17 MB / 0.9444 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.46, allocations: 3.938 kB / 0.9444 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/1.46, allocations: 7.094 kB / 0.9444 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/1.46, allocations: 48.78 kB / 0.9445 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/1.466, allocations: 6.713 MB / 0.951 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/1.466, allocations: 223.9 kB / 0.9512 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.466, allocations: 145.5 kB / 0.9514 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/1.468, allocations: 2.833 MB / 0.9541 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/1.468, allocations: 37.09 kB / 0.9542 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.794e-06/1.468, allocations: 0 / 0.9542 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001911/1.47, allocations: 0.873 MB / 0.955 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/1.47, allocations: 55.39 kB / 0.9551 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006586/1.471, allocations: 0.6527 MB / 0.9557 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.471, allocations: 29.42 kB / 0.9557 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/1.471, allocations: 0.5532 MB / 0.9563 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/1.471, allocations: 105 kB / 0.9564 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/1.471, allocations: 0 / 0.9564 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.471, allocations: 388.5 kB / 0.9568 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/1.471, allocations: 213.5 kB / 0.957 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/1.472, allocations: 0.9272 MB / 0.9579 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/1.473, allocations: 443.4 kB / 0.9583 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.473, allocations: 6.781 kB / 0.9583 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001746/1.474, allocations: 1.025 MB / 0.9593 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.474, allocations: 7.594 kB / 0.9593 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.474, allocations: 29.72 kB / 0.9593 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.562e-05/1.475, allocations: 38.53 kB / 0.9594 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/1.475, allocations: 278.9 kB / 0.9596 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.916e-05/1.475, allocations: 47.47 kB / 0.9597 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/1.476, allocations: 41.2 kB / 0.9597 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.476, allocations: 81.05 kB / 0.9598 GB, free: 118.3 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.0001853/1.476, allocations: 169.3 kB / 0.96 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.477, allocations: 76.22 kB / 0.96 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/1.477, allocations: 371.8 kB / 0.9604 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.477, allocations: 3.406 kB / 0.9604 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.478, allocations: 0 / 0.9604 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.478, allocations: 8.5 kB / 0.9604 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.479, allocations: 0.8871 MB / 0.9613 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.479, allocations: 0 / 0.9613 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.479, allocations: 64.84 kB / 0.9613 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/1.479, allocations: 1.156 kB / 0.9613 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/1.479, allocations: 1.969 kB / 0.9613 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.479, allocations: 3.906 kB / 0.9613 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.479, allocations: 6.25 kB / 0.9613 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008016/1.48, allocations: 0.5529 MB / 0.9619 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/1.48, allocations: 186.9 kB / 0.9621 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.481, allocations: 4.375 kB / 0.9621 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/1.481, allocations: 12.14 kB / 0.9621 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/1.481, allocations: 18.33 kB / 0.9621 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/1.481, allocations: 17.09 kB / 0.9621 GB, free: 117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005176/1.482, allocations: 453.5 kB / 0.9625 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001226/1.483, allocations: 299.2 kB / 0.9628 GB, free: 116.7 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.0007817/1.484, allocations: 422.5 kB / 0.9632 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008521/1.484, allocations: 0.56 MB / 0.9638 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.484, allocations: 1.219 kB / 0.9638 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/1.485, allocations: 123 kB / 0.9639 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/1.486, allocations: 242.1 kB / 0.9641 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/1.488, allocations: 0.9969 MB / 0.9651 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/1.488, allocations: 1.088 MB / 0.9662 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/1.488, allocations: 0 / 0.9662 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.02878/1.517, allocations: 12.55 MB / 0.9784 GB, free: 112.3 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