Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001631, allocations: 173.9 kB / 8.146 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 83.5 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2667/0.2667, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/7.975e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2881, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6215/0.9097, allocations: 301.2 MB / 0.7595 GB, free: 32.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.91, allocations: 85.25 kB / 0.7596 GB, free: 32.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.7108/1.621, allocations: 151.5 MB / 0.9075 GB, free: 97.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.148e-05/1.621, allocations: 26.09 kB / 0.9076 GB, free: 97.46 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.003347/1.624, allocations: 1.074 MB / 0.9086 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.624, allocations: 14.41 kB / 0.9086 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008737/1.625, allocations: 121.4 kB / 0.9087 GB, free: 96.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.627, allocations: 0.6107 MB / 0.9093 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/1.627, allocations: 222.9 kB / 0.9095 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/1.628, allocations: 46.03 kB / 0.9096 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002516/1.63, allocations: 0.8237 MB / 0.9104 GB, free: 95.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/1.633, allocations: 1.167 MB / 0.9115 GB, free: 94.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/1.633, allocations: 8.75 kB / 0.9115 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/1.633, allocations: 7.812 kB / 0.9116 GB, free: 94.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.932e-05/1.633, allocations: 43.52 kB / 0.9116 GB, free: 94.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009824/1.643, allocations: 6.711 MB / 0.9181 GB, free: 88.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/1.644, allocations: 233.6 kB / 0.9184 GB, free: 88.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/1.644, allocations: 142.3 kB / 0.9185 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003425/1.648, allocations: 2.839 MB / 0.9213 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/1.648, allocations: 37.91 kB / 0.9213 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 2.485e-06/1.648, allocations: 5.125 kB / 0.9213 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.003069/1.651, allocations: 0.8727 MB / 0.9222 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.651, allocations: 57.61 kB / 0.9222 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/1.652, allocations: 0.6519 MB / 0.9229 GB, free: 84.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/1.652, allocations: 27.08 kB / 0.9229 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.653, allocations: 0.5929 MB / 0.9235 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.653, allocations: 118.5 kB / 0.9236 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/1.653, allocations: 0 / 0.9236 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.653, allocations: 356.3 kB / 0.9239 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/1.653, allocations: 212.1 kB / 0.9241 GB, free: 83.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/1.654, allocations: 0.9282 MB / 0.925 GB, free: 82.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/1.656, allocations: 442 kB / 0.9254 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.656, allocations: 8.594 kB / 0.9255 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002818/1.659, allocations: 1.001 MB / 0.9264 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.659, allocations: 5.844 kB / 0.9264 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.06e-05/1.659, allocations: 24.75 kB / 0.9265 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.239e-05/1.659, allocations: 38.75 kB / 0.9265 GB, free: 81.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.66, allocations: 286.4 kB / 0.9268 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-05/1.661, allocations: 49.8 kB / 0.9268 GB, free: 81.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/1.661, allocations: 39.11 kB / 0.9269 GB, free: 81.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.662, allocations: 75 kB / 0.9269 GB, free: 81.26 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.0002533/1.662, allocations: 102.4 kB / 0.927 GB, free: 81.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/1.662, allocations: 77.16 kB / 0.9271 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/1.664, allocations: 385.2 kB / 0.9275 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.664, allocations: 2.656 kB / 0.9275 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.664, allocations: 1.375 kB / 0.9275 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.664, allocations: 3.984 kB / 0.9275 GB, free: 80.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/1.666, allocations: 0.8875 MB / 0.9283 GB, free: 80.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.666, allocations: 3.938 kB / 0.9283 GB, free: 80.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/1.667, allocations: 51.97 kB / 0.9284 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.667, allocations: 0 / 0.9284 GB, free: 80.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/1.667, allocations: 11.94 kB / 0.9284 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.667, allocations: 0 / 0.9284 GB, free: 80.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.667, allocations: 7.906 kB / 0.9284 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001239/1.668, allocations: 0.5406 MB / 0.9289 GB, free: 79.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/1.668, allocations: 188.1 kB / 0.9291 GB, free: 79.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/1.668, allocations: 4 kB / 0.9291 GB, free: 79.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/1.669, allocations: 15.89 kB / 0.9291 GB, free: 79.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/1.669, allocations: 16.05 kB / 0.9292 GB, free: 79.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.049e-05/1.669, allocations: 23.97 kB / 0.9292 GB, free: 79.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007536/1.67, allocations: 451.1 kB / 0.9296 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00176/1.672, allocations: 291.8 kB / 0.9299 GB, free: 78.5 MB / 0.4948 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.0009792/1.673, allocations: 423.2 kB / 0.9303 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.674, allocations: 0.552 MB / 0.9308 GB, free: 77.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.674, allocations: 0 / 0.9308 GB, free: 77.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/1.674, allocations: 123.8 kB / 0.9309 GB, free: 77.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/1.677, allocations: 226.5 kB / 0.9312 GB, free: 77.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/1.679, allocations: 1.052 MB / 0.9322 GB, free: 76.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008652/1.68, allocations: 1.089 MB / 0.9333 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.313e-06/1.68, allocations: 0 / 0.9333 GB, free: 75.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.02678/1.707, allocations: 13.45 MB / 0.9464 GB, free: 61.58 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches