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.0009258/0.0009258, allocations: 84.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.0009194/0.0009194, allocations: 162.2 kB / 24.91 MB, free: 8.766 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.896/0.896, allocations: 177 MB / 205.2 MB, free: 4.973 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.2666/0.2666, allocations: 34.86 MB / 296.6 MB, free: 384 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.783e-06/1.783e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.847e-05, allocations: 5.266 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.006396/0.006425, allocations: 7.99 MB / 333.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.009511, allocations: 2.512 MB / 336.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.009788, allocations: 31.69 kB / 336.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.01029, allocations: 238.3 kB / 336.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008236/0.01111, allocations: 0.6755 MB / 337.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.01247, allocations: 1.025 MB / 338.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.01416, allocations: 2.482 MB / 340.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.01471, allocations: 0.5974 MB / 341.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009766/0.01569, allocations: 1.154 MB / 342.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/0.01642, allocations: 0.6856 MB / 343.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.01652, allocations: 88 kB / 343.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.01688, allocations: 219.7 kB / 343.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.01713, allocations: 398.8 kB / 344 MB, free: 4.977 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.01739, allocations: 379.2 kB / 344.4 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.01824, allocations: 1.02 MB / 345.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01824, allocations: 0 / 345.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01824, allocations: 0 / 345.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01825, allocations: 0 / 345.4 MB, free: 3.582 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.001206/0.01946, allocations: 1.123 MB / 346.5 MB, free: 2.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01949, allocations: 12.03 kB / 346.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.01982, allocations: 200.5 kB / 346.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.02036, allocations: 486 kB / 347.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.02053, allocations: 403 kB / 347.6 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.02062, allocations: 92.31 kB / 347.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.02145, allocations: 1.3 MB / 349 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.02147, allocations: 8.125 kB / 349 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.02153, allocations: 43.92 kB / 349 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.02157, allocations: 41.3 kB / 349.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.02197, allocations: 376.5 kB / 349.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.02495, allocations: 5.092 MB / 354.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.02514, allocations: 191.4 kB / 354.7 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.02521, allocations: 73.45 kB / 354.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.02586, allocations: 0.6347 MB / 355.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.02588, allocations: 34.8 kB / 355.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.193e-06/0.02588, allocations: 0 / 355.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.000938/0.02682, allocations: 0.7253 MB / 356.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.02685, allocations: 59.34 kB / 356.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.02732, allocations: 0.6997 MB / 356.9 MB, free: 7.352 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.02735, allocations: 37.7 kB / 357 MB, free: 7.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.02756, allocations: 0.5536 MB / 357.5 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.02762, allocations: 146.9 kB / 357.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.02777, allocations: 230.6 kB / 357.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.02787, allocations: 390.6 kB / 358.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.02798, allocations: 109.4 kB / 358.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.02837, allocations: 0.8252 MB / 359.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/0.02901, allocations: 1.075 MB / 360.3 MB, free: 3.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.02901, allocations: 8 kB / 360.3 MB, free: 3.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0006571/0.02967, allocations: 0.8051 MB / 361.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.02969, allocations: 16 kB / 361.1 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.02971, allocations: 28 kB / 361.1 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.02973, allocations: 32 kB / 361.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.03012, allocations: 279.5 kB / 361.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.03015, allocations: 47.8 kB / 361.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.03043, allocations: 55.94 kB / 361.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.03048, allocations: 67.98 kB / 361.6 MB, free: 1.914 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.0001557/0.03063, allocations: 228.2 kB / 361.8 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.03069, allocations: 59.88 kB / 361.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.03102, allocations: 327.6 kB / 362.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.03103, allocations: 0 / 362.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.03103, allocations: 4 kB / 362.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.03103, allocations: 4 kB / 362.2 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.03158, allocations: 0.6519 MB / 362.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.03159, allocations: 0 / 362.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.03172, allocations: 67.91 kB / 362.9 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.03173, allocations: 4 kB / 362.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.03174, allocations: 8.188 kB / 362.9 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.03175, allocations: 11.98 kB / 362.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03175, allocations: 3.938 kB / 363 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.03205, allocations: 416.9 kB / 363.4 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.03221, allocations: 91.58 kB / 363.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.03226, allocations: 8 kB / 363.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.0324, allocations: 15.98 kB / 363.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.03242, allocations: 23.72 kB / 363.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.03245, allocations: 23.97 kB / 363.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.03265, allocations: 295.4 kB / 363.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03265, allocations: 0 / 363.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00053/0.03318, allocations: 235.9 kB / 364 MB, free: 15.38 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.0001985/0.03337, allocations: 149.5 kB / 364.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.03374, allocations: 457.9 kB / 364.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.357e-05/0.03376, allocations: 17.81 kB / 364.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.839e-05/0.03384, allocations: 92.67 kB / 364.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.03447, allocations: 308 kB / 365 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.03574, allocations: 1.262 MB / 366.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.03585, allocations: 195.2 kB / 366.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.03614, allocations: 145.7 kB / 366.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.03657, allocations: 311 kB / 366.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03657, allocations: 0 / 366.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of Templates: time 0.01357/0.05014, allocations: 12.71 MB / 379.7 MB, free: 15.97 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 -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.073278228752315]