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.000783/0.000783, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001828, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007233/0.0007233, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001854, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9537/0.9537, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0785/1.032, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2439/0.2439, allocations: 34.85 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0273/0.2712, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.714e-06/1.714e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.407e-05, allocations: 9.266 kB / 293.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01069/0.01071, allocations: 8.046 MB / 301.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.01619, allocations: 2.543 MB / 304.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00076/0.01695, allocations: 31.69 kB / 304.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.01767, allocations: 242.3 kB / 304.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.01935, allocations: 0.6754 MB / 305.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.02226, allocations: 0.9936 MB / 306.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.02586, allocations: 2.548 MB / 308.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.02699, allocations: 0.6044 MB / 309.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.02875, allocations: 1.177 MB / 310.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.0296, allocations: 0.6934 MB / 311.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.02973, allocations: 84 kB / 311.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005258/0.03026, allocations: 231.6 kB / 311.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.0305, allocations: 315.2 kB / 312 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.0308, allocations: 303.5 kB / 312.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.03173, allocations: 0.8995 MB / 313.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.03174, allocations: 0 / 313.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.03174, allocations: 0 / 313.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.03177, allocations: 4 kB / 313.2 MB, free: 1.75 MB / 298.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.001589/0.03336, allocations: 1.346 MB / 314.6 MB, free: 388 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.03339, allocations: 20.02 kB / 314.6 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.03377, allocations: 265.6 kB / 314.9 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006299/0.0344, allocations: 486 kB / 315.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.03459, allocations: 403 kB / 315.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.0347, allocations: 92.33 kB / 315.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.03583, allocations: 1.303 MB / 317.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.03585, allocations: 12.12 kB / 317.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.03591, allocations: 43.94 kB / 317.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.03596, allocations: 41.3 kB / 317.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.03638, allocations: 376.5 kB / 317.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.03957, allocations: 5.084 MB / 322.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.03978, allocations: 196 kB / 322.8 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.264e-05/0.03986, allocations: 69.47 kB / 322.9 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/0.04058, allocations: 0.6541 MB / 323.6 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.04061, allocations: 38.8 kB / 323.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.04061, allocations: 0 / 323.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001076/0.04169, allocations: 0.7129 MB / 324.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.04172, allocations: 55.41 kB / 324.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.04216, allocations: 0.7114 MB / 325.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.04219, allocations: 33.7 kB / 325.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.04242, allocations: 0.5614 MB / 325.7 MB, free: 4.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.04249, allocations: 142.9 kB / 325.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.04266, allocations: 234.6 kB / 326.1 MB, free: 4.207 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.04277, allocations: 390.6 kB / 326.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.04288, allocations: 105.4 kB / 326.5 MB, free: 3.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004249/0.04331, allocations: 0.8176 MB / 327.4 MB, free: 2.531 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.04398, allocations: 1.074 MB / 328.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.04398, allocations: 12 kB / 328.4 MB, free: 1.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007096/0.04469, allocations: 0.8005 MB / 329.2 MB, free: 280 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.04472, allocations: 17 kB / 329.3 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.04473, allocations: 24 kB / 329.3 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.04476, allocations: 43.94 kB / 329.3 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.04526, allocations: 315.4 kB / 329.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/0.04529, allocations: 47.86 kB / 329.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.04561, allocations: 48 kB / 329.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.04566, allocations: 67.98 kB / 329.8 MB, free: 15.72 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.0001841/0.04585, allocations: 215.9 kB / 330 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.04591, allocations: 59.88 kB / 330.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.04628, allocations: 338.6 kB / 330.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.04629, allocations: 4 kB / 330.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.04629, allocations: 0 / 330.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.0463, allocations: 0 / 330.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.04691, allocations: 0.6485 MB / 331 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.04692, allocations: 4 kB / 331 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.04709, allocations: 79.89 kB / 331.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.04721, allocations: 87.45 kB / 331.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.04721, allocations: 0 / 331.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.04723, allocations: 15.98 kB / 331.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.04723, allocations: 4 kB / 331.2 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.04723, allocations: 4 kB / 331.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.04757, allocations: 424.5 kB / 331.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.04762, allocations: 8 kB / 331.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.04777, allocations: 16 kB / 331.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.0478, allocations: 27.89 kB / 331.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.04783, allocations: 19.97 kB / 331.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.04803, allocations: 287.4 kB / 332 MB, free: 13.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04803, allocations: 0 / 332 MB, free: 13.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005809/0.04861, allocations: 243.9 kB / 332.2 MB, free: 13.18 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.0002388/0.04885, allocations: 160.1 kB / 332.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.04927, allocations: 458.9 kB / 332.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.934e-05/0.0493, allocations: 23.75 kB / 332.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.04938, allocations: 88.61 kB / 333 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.05009, allocations: 389.2 kB / 333.3 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008047/0.05814, allocations: 1.246 MB / 334.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.05827, allocations: 195.5 kB / 334.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004511/0.05872, allocations: 146 kB / 334.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.05919, allocations: 307 kB / 335.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.05919, allocations: 0 / 335.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Templates: time 0.01495/0.07414, allocations: 13.16 MB / 348.4 MB, free: 13.24 MB / 346.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 -ignoreHideResult -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.127391648478806]