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.001076/0.001076, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002566, allocations: 457.8 kB / 10.45 MB, free: 244 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.001061/0.001061, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002447, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.03/1.03, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/1.111, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2677/0.2677, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02576/0.2935, allocations: 13.23 MB / 292.8 MB, free: 6.41 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.613e-06/1.613e-06, allocations: 0 / 294.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.641e-05, allocations: 9.531 kB / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.006334/0.00635, allocations: 8.057 MB / 302.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.009465, allocations: 2.539 MB / 304.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.00974, allocations: 31.75 kB / 304.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.01016, allocations: 250.3 kB / 305 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009575/0.01112, allocations: 0.6638 MB / 305.6 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.01271, allocations: 1 MB / 306.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.01478, allocations: 2.548 MB / 309.2 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.01554, allocations: 0.6083 MB / 309.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.0169, allocations: 1.177 MB / 311 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007988/0.0177, allocations: 0.6856 MB / 311.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.01783, allocations: 87.94 kB / 311.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.01829, allocations: 231.7 kB / 312 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.01851, allocations: 315.2 kB / 312.3 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.01877, allocations: 299.5 kB / 312.6 MB, free: 2.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009821/0.01975, allocations: 0.9034 MB / 313.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.01976, allocations: 0 / 313.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01976, allocations: 0 / 313.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.01978, allocations: 0 / 313.5 MB, free: 1.656 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.001504/0.02129, allocations: 1.354 MB / 314.8 MB, free: 280 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.02132, allocations: 8.031 kB / 314.8 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.02174, allocations: 273.7 kB / 315.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.02233, allocations: 482 kB / 315.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.02251, allocations: 410.9 kB / 316 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.02261, allocations: 92.25 kB / 316.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.02378, allocations: 1.304 MB / 317.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.02381, allocations: 8.125 kB / 317.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.02388, allocations: 43.94 kB / 317.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.02392, allocations: 33.31 kB / 317.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.02435, allocations: 380.5 kB / 317.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.02776, allocations: 5.088 MB / 322.9 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.028, allocations: 187.4 kB / 323.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.02808, allocations: 73.47 kB / 323.2 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009793/0.02906, allocations: 0.6425 MB / 323.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.02908, allocations: 38.8 kB / 323.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.152e-06/0.02908, allocations: 0 / 323.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001192/0.03028, allocations: 0.7873 MB / 324.6 MB, free: 5.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.0303, allocations: 55.41 kB / 324.7 MB, free: 5.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.03071, allocations: 0.7075 MB / 325.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.03074, allocations: 41.58 kB / 325.4 MB, free: 4.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.03097, allocations: 0.5614 MB / 326 MB, free: 4.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.03103, allocations: 138.9 kB / 326.1 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.0312, allocations: 230.6 kB / 326.3 MB, free: 4.047 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.03131, allocations: 390.6 kB / 326.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.03142, allocations: 109.4 kB / 326.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.03186, allocations: 0.8176 MB / 327.7 MB, free: 2.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.0326, allocations: 1.165 MB / 328.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.03261, allocations: 8 kB / 328.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007063/0.03332, allocations: 0.8015 MB / 329.6 MB, free: 24 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.03334, allocations: 19.94 kB / 329.6 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000309/0.03365, allocations: 24.05 kB / 329.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.03368, allocations: 36 kB / 329.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.03415, allocations: 315.4 kB / 330 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/0.03418, allocations: 51.78 kB / 330.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.0345, allocations: 48 kB / 330.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/0.03455, allocations: 68 kB / 330.2 MB, free: 15.47 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.0001902/0.03474, allocations: 224 kB / 330.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.03481, allocations: 63.86 kB / 330.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.03518, allocations: 323.1 kB / 330.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.03519, allocations: 4 kB / 330.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.03519, allocations: 4 kB / 330.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.0352, allocations: 3.984 kB / 330.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.03583, allocations: 0.6446 MB / 331.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.03584, allocations: 0 / 331.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.03601, allocations: 79.89 kB / 331.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/0.03611, allocations: 91.44 kB / 331.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.03612, allocations: 0 / 331.6 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.03613, allocations: 8 kB / 331.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.03613, allocations: 8.188 kB / 331.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.03614, allocations: 7.938 kB / 331.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.03646, allocations: 424.6 kB / 332 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.0365, allocations: 11.98 kB / 332 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.03666, allocations: 8 kB / 332.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.03669, allocations: 35.83 kB / 332.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.03671, allocations: 15.98 kB / 332.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.03692, allocations: 299.3 kB / 332.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03692, allocations: 32 / 332.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000532/0.03745, allocations: 235.9 kB / 332.6 MB, free: 12.93 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.0002406/0.03769, allocations: 161.1 kB / 332.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.03808, allocations: 480.9 kB / 333.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.973e-05/0.03811, allocations: 17.81 kB / 333.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.03823, allocations: 117.5 kB / 333.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.03941, allocations: 1.741 MB / 335.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.04665, allocations: 1.258 MB / 336.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.04677, allocations: 187.5 kB / 336.6 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006308/0.0474, allocations: 151 kB / 336.7 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.04787, allocations: 311 kB / 337 MB, free: 8.172 MB / 330.7 MB Notification: Performance of SimCode: time 1.273e-06/0.04787, allocations: 0 / 337 MB, free: 8.172 MB / 330.7 MB Notification: Performance of Templates: time 0.01402/0.06189, allocations: 12.14 MB / 349.2 MB, free: 12.29 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.117363621480763]