Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001126/0.001126, allocations: 80.92 kB / 21.49 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.00122/0.00122, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.274/0.274, allocations: 34.25 MB / 296.1 MB, free: 0.6016 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.48e-05/3.672e-05, allocations: 3.922 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.007523/0.00756, allocations: 8.033 MB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.01118, allocations: 2.515 MB / 335.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.01166, allocations: 31.69 kB / 335.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.01225, allocations: 246.3 kB / 336.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.01331, allocations: 0.6677 MB / 336.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.01505, allocations: 0.9936 MB / 337.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002183/0.01723, allocations: 2.485 MB / 340.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.01805, allocations: 0.601 MB / 340.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.01951, allocations: 1.138 MB / 342 MB, free: 6.852 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008606/0.02037, allocations: 0.6817 MB / 342.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.0205, allocations: 88 kB / 342.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.02099, allocations: 227.7 kB / 343 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.02124, allocations: 406.8 kB / 343.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.02152, allocations: 379.2 kB / 343.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.02241, allocations: 1.016 MB / 344.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.02241, allocations: 0 / 344.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02241, allocations: 0 / 344.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.02242, allocations: 0 / 344.8 MB, free: 4.07 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.00119/0.02361, allocations: 1.127 MB / 345.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.02364, allocations: 8.031 kB / 345.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.02398, allocations: 200.4 kB / 346.1 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.02455, allocations: 478 kB / 346.6 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.02472, allocations: 407 kB / 347 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.02482, allocations: 96.31 kB / 347.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.02568, allocations: 1.3 MB / 348.4 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.0257, allocations: 8.125 kB / 348.4 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.02576, allocations: 39.94 kB / 348.4 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.02581, allocations: 41.3 kB / 348.4 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004315/0.02624, allocations: 380.5 kB / 348.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.02924, allocations: 5.084 MB / 353.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.02945, allocations: 200.5 kB / 354.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.02953, allocations: 69.47 kB / 354.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.03024, allocations: 0.6308 MB / 354.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.03027, allocations: 46.72 kB / 354.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.03027, allocations: 0 / 354.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001097/0.03137, allocations: 0.7201 MB / 355.6 MB, free: 8.621 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.0314, allocations: 55.41 kB / 355.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.03182, allocations: 0.6997 MB / 356.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.03185, allocations: 33.7 kB / 356.3 MB, free: 7.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.03208, allocations: 0.5614 MB / 356.9 MB, free: 7.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.03215, allocations: 142.9 kB / 357 MB, free: 7.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.03231, allocations: 234.6 kB / 357.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.03242, allocations: 390.6 kB / 357.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.03253, allocations: 105.4 kB / 357.8 MB, free: 6.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.03295, allocations: 0.8252 MB / 358.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.03364, allocations: 1.079 MB / 359.7 MB, free: 3.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.03365, allocations: 11.94 kB / 359.7 MB, free: 3.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007378/0.03438, allocations: 0.7975 MB / 360.5 MB, free: 2.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.03441, allocations: 20.03 kB / 360.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.03443, allocations: 35.98 kB / 360.5 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.03446, allocations: 36 kB / 360.6 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.03492, allocations: 287.5 kB / 360.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.345e-05/0.03496, allocations: 55.78 kB / 360.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.03529, allocations: 48 kB / 360.9 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.03534, allocations: 60 kB / 361 MB, free: 2.387 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.0002046/0.03555, allocations: 216 kB / 361.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.03563, allocations: 67.86 kB / 361.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.03626, allocations: 326.8 kB / 361.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.03627, allocations: 4 kB / 361.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.03627, allocations: 0 / 361.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.03628, allocations: 3.984 kB / 361.6 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.03699, allocations: 0.6529 MB / 362.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.03699, allocations: 0 / 362.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.03717, allocations: 75.89 kB / 362.3 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.03718, allocations: 4 kB / 362.3 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.03719, allocations: 8 kB / 362.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.0372, allocations: 11.92 kB / 362.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.0372, allocations: 192 / 362.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.03755, allocations: 432.2 kB / 362.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.03766, allocations: 87.44 kB / 362.9 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.03771, allocations: 8 kB / 362.9 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.03788, allocations: 15.98 kB / 362.9 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.03791, allocations: 23.91 kB / 362.9 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.03794, allocations: 19.97 kB / 362.9 MB, free: 376 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.03816, allocations: 295.4 kB / 363.2 MB, free: 80 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03816, allocations: 0 / 363.2 MB, free: 80 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006353/0.03879, allocations: 240 kB / 363.5 MB, free: 15.84 MB / 346.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.0002996/0.03909, allocations: 152.1 kB / 363.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.03954, allocations: 457.2 kB / 364.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.041e-05/0.03957, allocations: 21.75 kB / 364.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.03966, allocations: 85.86 kB / 364.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.0404, allocations: 317.4 kB / 364.5 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.04203, allocations: 1.258 MB / 365.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.04215, allocations: 195.5 kB / 365.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003597/0.04251, allocations: 145.6 kB / 366.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.043, allocations: 315 kB / 366.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.04301, allocations: 0 / 366.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of Templates: time 0.01508/0.05809, allocations: 12.7 MB / 379.1 MB, free: 428 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.2365176188759506]