Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9866/0.9866, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2497/0.2497, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.633e-05, allocations: 5.406 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.007609/0.007625, allocations: 8.037 MB / 334 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.01071, allocations: 2.515 MB / 336.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.01101, allocations: 31.75 kB / 336.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.01157, allocations: 250.2 kB / 336.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008627/0.01244, allocations: 0.6677 MB / 337.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.01375, allocations: 0.9911 MB / 338.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.0156, allocations: 2.478 MB / 340.9 MB, free: 8.094 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.01619, allocations: 0.605 MB / 341.5 MB, free: 7.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009716/0.01716, allocations: 1.13 MB / 342.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.01779, allocations: 0.6856 MB / 343.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.01789, allocations: 84 kB / 343.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.01823, allocations: 227.6 kB / 343.6 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.01848, allocations: 406.8 kB / 344 MB, free: 4.945 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.01874, allocations: 383.2 kB / 344.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.01956, allocations: 1.016 MB / 345.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.01956, allocations: 0 / 345.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01956, allocations: 0 / 345.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.01957, allocations: 0 / 345.4 MB, free: 3.551 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.00121/0.02078, allocations: 1.127 MB / 346.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.02081, allocations: 8.031 kB / 346.6 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.02116, allocations: 204.4 kB / 346.8 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/0.02181, allocations: 482 kB / 347.2 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.02199, allocations: 407 kB / 347.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.02208, allocations: 84.33 kB / 347.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.02295, allocations: 1.3 MB / 349 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.02297, allocations: 8.125 kB / 349 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.02303, allocations: 43.94 kB / 349.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/0.02308, allocations: 49.23 kB / 349.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.02348, allocations: 372.5 kB / 349.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.02648, allocations: 5.096 MB / 354.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.02668, allocations: 191.4 kB / 354.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.02676, allocations: 65.48 kB / 354.8 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.02741, allocations: 0.6386 MB / 355.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.02743, allocations: 38.8 kB / 355.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.112e-06/0.02743, allocations: 0 / 355.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009715/0.02841, allocations: 0.7175 MB / 356.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.02843, allocations: 59.41 kB / 356.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.02885, allocations: 0.7036 MB / 357 MB, free: 7.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.02887, allocations: 33.7 kB / 357 MB, free: 7.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.02908, allocations: 0.5575 MB / 357.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.02915, allocations: 150.9 kB / 357.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.02935, allocations: 234.6 kB / 358 MB, free: 6.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.02948, allocations: 386.6 kB / 358.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.0296, allocations: 105.4 kB / 358.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.03001, allocations: 0.8251 MB / 359.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/0.03063, allocations: 1.075 MB / 360.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.03064, allocations: 12 kB / 360.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007736/0.03141, allocations: 0.8086 MB / 361.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.03143, allocations: 16 kB / 361.2 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.03145, allocations: 24 kB / 361.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.03148, allocations: 40.66 kB / 361.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.03194, allocations: 291.4 kB / 361.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.62e-05/0.03197, allocations: 55.8 kB / 361.6 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.03227, allocations: 48 kB / 361.6 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.03232, allocations: 64 kB / 361.7 MB, free: 1.863 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.0001635/0.03248, allocations: 216 kB / 361.9 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.03254, allocations: 59.88 kB / 361.9 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.03291, allocations: 335.4 kB / 362.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.03292, allocations: 7.984 kB / 362.3 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.03292, allocations: 0 / 362.3 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.03292, allocations: 0 / 362.3 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.03351, allocations: 0.6563 MB / 362.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.03352, allocations: 4.188 kB / 362.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.03369, allocations: 71.89 kB / 363 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.03369, allocations: 4 kB / 363 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.0337, allocations: 8 kB / 363 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.03371, allocations: 4 kB / 363 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.03371, allocations: 0 / 363 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.03402, allocations: 424.9 kB / 363.4 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.03413, allocations: 87.44 kB / 363.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.03417, allocations: 16.03 kB / 363.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.03432, allocations: 12 kB / 363.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.03435, allocations: 31.83 kB / 363.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.03438, allocations: 15.98 kB / 363.6 MB, free: 15.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.0346, allocations: 295.3 kB / 363.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0346, allocations: 0 / 363.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.03513, allocations: 243.9 kB / 364.1 MB, free: 15.32 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.0002246/0.03535, allocations: 148.2 kB / 364.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.03574, allocations: 456.8 kB / 364.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.461e-05/0.03577, allocations: 17.81 kB / 364.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.03586, allocations: 88.56 kB / 364.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.03659, allocations: 314 kB / 365.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.03801, allocations: 1.246 MB / 366.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.03813, allocations: 195.5 kB / 366.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.03843, allocations: 156.3 kB / 366.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.03889, allocations: 303 kB / 367 MB, free: 12.37 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03889, allocations: 0 / 367 MB, free: 12.37 MB / 346.7 MB Notification: Performance of Templates: time 0.01346/0.05235, allocations: 12.71 MB / 379.7 MB, free: 15.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1636845329776406]