Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 186.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 100.4 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5085/0.5085, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004851, allocations: 20 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.197, allocations: 302 MB / 0.7736 GB, free: 68.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/1.197, allocations: 88.33 kB / 0.7737 GB, free: 68.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8302/2.027, allocations: 152.8 MB / 0.923 GB, free: 115 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.703e-06/2.027, allocations: 0 / 0.923 GB, free: 115 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.407e-05/2.027, allocations: 28 kB / 0.923 GB, free: 115 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.003057/2.03, allocations: 1.139 MB / 0.9241 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/2.03, allocations: 6.781 kB / 0.9241 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/2.031, allocations: 122.5 kB / 0.9242 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/2.033, allocations: 0.6056 MB / 0.9248 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/2.033, allocations: 262.8 kB / 0.9251 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/2.033, allocations: 84.31 kB / 0.9252 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/2.036, allocations: 1.274 MB / 0.9264 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/2.036, allocations: 7.188 kB / 0.9264 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/2.036, allocations: 39.47 kB / 0.9265 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.78e-05/2.036, allocations: 43.19 kB / 0.9265 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/2.038, allocations: 0.9416 MB / 0.9274 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/2.047, allocations: 6.585 MB / 0.9338 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/2.048, allocations: 304.7 kB / 0.9341 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003093/2.051, allocations: 2.827 MB / 0.9369 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/2.051, allocations: 38.2 kB / 0.9369 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/2.051, allocations: 4 kB / 0.9369 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.003188/2.054, allocations: 1.099 MB / 0.938 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/2.054, allocations: 55.34 kB / 0.9381 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/2.056, allocations: 0.7738 MB / 0.9388 GB, free: 103 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/2.056, allocations: 33.64 kB / 0.9388 GB, free: 103 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/2.056, allocations: 0.6034 MB / 0.9394 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/2.056, allocations: 137.9 kB / 0.9396 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/2.056, allocations: 27.81 kB / 0.9396 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/2.056, allocations: 359.2 kB / 0.9399 GB, free: 102 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/2.057, allocations: 242.5 kB / 0.9402 GB, free: 102 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009344/2.058, allocations: 0.9517 MB / 0.9411 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/2.059, allocations: 447.1 kB / 0.9415 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/2.059, allocations: 7.375 kB / 0.9415 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002414/2.061, allocations: 1.153 MB / 0.9427 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/2.061, allocations: 14.31 kB / 0.9427 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/2.061, allocations: 33.34 kB / 0.9427 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-05/2.061, allocations: 37.19 kB / 0.9427 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/2.063, allocations: 278.1 kB / 0.943 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-05/2.063, allocations: 50.97 kB / 0.9431 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/2.064, allocations: 69.77 kB / 0.9431 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/2.064, allocations: 83.17 kB / 0.9432 GB, free: 100.2 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 () * Number of clocked 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.0005753/2.065, allocations: 325.6 kB / 0.9435 GB, free: 99.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/2.065, allocations: 88.53 kB / 0.9436 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/2.066, allocations: 480.1 kB / 0.9441 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/2.066, allocations: 7.906 kB / 0.9441 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.066, allocations: 0 / 0.9441 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/2.066, allocations: 0 / 0.9441 GB, free: 99.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/2.068, allocations: 1.233 MB / 0.9453 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/2.068, allocations: 3.125 kB / 0.9453 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/2.069, allocations: 71.77 kB / 0.9453 GB, free: 98.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/2.069, allocations: 7.172 kB / 0.9453 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/2.069, allocations: 7.812 kB / 0.9453 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/2.069, allocations: 12.03 kB / 0.9454 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.069, allocations: 7.812 kB / 0.9454 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/2.07, allocations: 0.7015 MB / 0.9461 GB, free: 98.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/2.071, allocations: 209.2 kB / 0.9463 GB, free: 98.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/2.071, allocations: 15.05 kB / 0.9463 GB, free: 98.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/2.072, allocations: 32.95 kB / 0.9463 GB, free: 98.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/2.072, allocations: 22.33 kB / 0.9463 GB, free: 98.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/2.072, allocations: 30.41 kB / 0.9463 GB, free: 98.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001035/2.073, allocations: 0.5833 MB / 0.9469 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/2.073, allocations: 0 / 0.9469 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001616/2.075, allocations: 315.3 kB / 0.9472 GB, free: 97.84 MB / 0.4948 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 () * Number of clocked 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.0009858/2.076, allocations: 420.8 kB / 0.9476 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001483/2.077, allocations: 0.6381 MB / 0.9482 GB, free: 97.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/2.077, allocations: 4.188 kB / 0.9482 GB, free: 97.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003322/2.077, allocations: 142.4 kB / 0.9484 GB, free: 97.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/2.08, allocations: 389.3 kB / 0.9488 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/2.083, allocations: 1.786 MB / 0.9505 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/2.084, allocations: 1.011 MB / 0.9515 GB, free: 95.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/2.084, allocations: 88.7 kB / 0.9516 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.011e-06/2.084, allocations: 0 / 0.9516 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.02985/2.114, allocations: 15.05 MB / 0.9663 GB, free: 87.47 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/jenkins1/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