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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8777/0.8777, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.324e-05, allocations: 2.875 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.005993/0.006006, allocations: 7.986 MB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.008652, allocations: 2.517 MB / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.008877, allocations: 27.75 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.00932, allocations: 250.2 kB / 334 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.01008, allocations: 0.6677 MB / 334.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.01129, allocations: 1.025 MB / 335.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.01285, allocations: 2.489 MB / 338.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.01335, allocations: 0.6044 MB / 338.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008997/0.01425, allocations: 1.146 MB / 339.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/0.01484, allocations: 0.6895 MB / 340.6 MB, free: 8.234 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.01494, allocations: 84 kB / 340.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.01524, allocations: 223.7 kB / 340.9 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.01548, allocations: 398.8 kB / 341.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.01575, allocations: 379.2 kB / 341.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.01657, allocations: 1.016 MB / 342.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01658, allocations: 0 / 342.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01658, allocations: 3.938 kB / 342.7 MB, free: 6.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.01659, allocations: 0 / 342.7 MB, free: 6.148 MB / 314.7 MB 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.001182/0.01777, allocations: 1.127 MB / 343.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.0178, allocations: 8.031 kB / 343.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.01811, allocations: 204.5 kB / 344 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.01864, allocations: 474 kB / 344.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.01882, allocations: 414.9 kB / 344.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.01892, allocations: 88.31 kB / 345 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.01977, allocations: 1.301 MB / 346.3 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.01979, allocations: 8.125 kB / 346.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.346e-05/0.01985, allocations: 43.92 kB / 346.3 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.0199, allocations: 45.31 kB / 346.4 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.02032, allocations: 376.5 kB / 346.7 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.02336, allocations: 5.084 MB / 351.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.02356, allocations: 193.2 kB / 352 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.02363, allocations: 69.47 kB / 352.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.02429, allocations: 0.6347 MB / 352.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.02431, allocations: 38.8 kB / 352.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.142e-06/0.02431, allocations: 0 / 352.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009685/0.02528, allocations: 0.724 MB / 353.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.02531, allocations: 55.41 kB / 353.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.02571, allocations: 0.6958 MB / 354.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.02574, allocations: 37.7 kB / 354.3 MB, free: 9.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.02595, allocations: 0.5653 MB / 354.8 MB, free: 9.309 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.02601, allocations: 142.8 kB / 355 MB, free: 9.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.02617, allocations: 238.6 kB / 355.2 MB, free: 8.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.02628, allocations: 390.6 kB / 355.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.02638, allocations: 105.4 kB / 355.7 MB, free: 8.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.02678, allocations: 0.8252 MB / 356.5 MB, free: 7.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.0274, allocations: 1.075 MB / 357.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.02741, allocations: 8 kB / 357.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00066/0.02807, allocations: 0.7969 MB / 358.4 MB, free: 5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.02809, allocations: 22.33 kB / 358.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.0281, allocations: 27.94 kB / 358.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.02813, allocations: 40.72 kB / 358.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.02853, allocations: 267.5 kB / 358.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.02855, allocations: 59.78 kB / 358.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.02884, allocations: 48 kB / 358.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.02889, allocations: 64 kB / 358.9 MB, free: 4.484 MB / 330.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.02905, allocations: 225 kB / 359.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.02911, allocations: 63.88 kB / 359.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.02945, allocations: 321.1 kB / 359.5 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.02945, allocations: 4 kB / 359.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.02945, allocations: 0 / 359.5 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.02946, allocations: 3.984 kB / 359.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.03003, allocations: 0.6486 MB / 360.2 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.03004, allocations: 8.031 kB / 360.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.03017, allocations: 67.89 kB / 360.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.03018, allocations: 0 / 360.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.03019, allocations: 12 kB / 360.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.03019, allocations: 4 kB / 360.3 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.03019, allocations: 7.938 kB / 360.3 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.0305, allocations: 424 kB / 360.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.0306, allocations: 91.44 kB / 360.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.03064, allocations: 12.03 kB / 360.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.03079, allocations: 8 kB / 360.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.03081, allocations: 35.83 kB / 360.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.03084, allocations: 15.98 kB / 360.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.03104, allocations: 295.4 kB / 361.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03104, allocations: 0 / 361.1 MB, free: 2.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000509/0.03155, allocations: 235.9 kB / 361.4 MB, free: 1.949 MB / 330.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.03175, allocations: 159.2 kB / 361.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003607/0.03211, allocations: 461.1 kB / 362 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/0.03213, allocations: 21.75 kB / 362 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.03221, allocations: 88.61 kB / 362.1 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.03285, allocations: 310.4 kB / 362.4 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.03414, allocations: 1.261 MB / 363.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.03425, allocations: 187.3 kB / 363.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.03454, allocations: 151.1 kB / 364 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.03497, allocations: 307 kB / 364.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03497, allocations: 0 / 364.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of Templates: time 0.01338/0.04835, allocations: 12.7 MB / 377 MB, free: 2.52 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9968639509752393]