Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001011/0.001011, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.0009326/0.0009326, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8224/0.8224, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1471/0.1471, allocations: 32.37 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.707e-06/3.707e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.291e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.008007/0.00804, allocations: 7.972 MB / 355.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004617/0.01266, allocations: 2.48 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.01367, allocations: 31.69 kB / 358.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.0145, allocations: 242.3 kB / 358.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.01655, allocations: 0.6678 MB / 359.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.01859, allocations: 1.025 MB / 360.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.02061, allocations: 2.497 MB / 362.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.02122, allocations: 0.5967 MB / 363.2 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.02227, allocations: 1.138 MB / 364.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/0.02295, allocations: 0.7402 MB / 365.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.02306, allocations: 87.94 kB / 365.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.02344, allocations: 215.7 kB / 365.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.0237, allocations: 398.9 kB / 365.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.02399, allocations: 387.1 kB / 366.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009456/0.02494, allocations: 0.993 MB / 367.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02494, allocations: 0 / 367.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02494, allocations: 0 / 367.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.02496, allocations: 0 / 367.1 MB, free: 5.918 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.001464/0.02642, allocations: 1.287 MB / 368.4 MB, free: 4.586 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.02646, allocations: 12.03 kB / 368.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.02685, allocations: 220 kB / 368.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.02746, allocations: 0.5592 MB / 369.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.02766, allocations: 407 kB / 369.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.02776, allocations: 92.33 kB / 369.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.02891, allocations: 1.512 MB / 371.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.02893, allocations: 4.125 kB / 371.2 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.029, allocations: 43.94 kB / 371.2 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.02905, allocations: 41.3 kB / 371.3 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.0297, allocations: 475 kB / 371.7 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/0.03366, allocations: 7.244 MB / 379 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.03394, allocations: 181.9 kB / 379.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.03406, allocations: 92.28 kB / 379.2 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007528/0.03482, allocations: 0.7311 MB / 380 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.03484, allocations: 45.56 kB / 380 MB, free: 8.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.03484, allocations: 0 / 380 MB, free: 8.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001228/0.03607, allocations: 0.8147 MB / 380.8 MB, free: 7.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.03611, allocations: 63.33 kB / 380.9 MB, free: 7.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.03692, allocations: 0.7799 MB / 381.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.03695, allocations: 37.7 kB / 381.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.03723, allocations: 0.653 MB / 382.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.0373, allocations: 142.9 kB / 382.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.03747, allocations: 248.6 kB / 382.7 MB, free: 5.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.03762, allocations: 0.5586 MB / 383.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.03778, allocations: 122.5 kB / 383.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.03834, allocations: 1.18 MB / 384.6 MB, free: 3.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.03916, allocations: 1.423 MB / 386 MB, free: 1.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.03917, allocations: 4 kB / 386 MB, free: 1.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009463/0.04012, allocations: 1.013 MB / 387 MB, free: 128 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.04014, allocations: 16 kB / 387.1 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.04016, allocations: 28 kB / 387.1 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.04019, allocations: 32 kB / 387.1 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.0409, allocations: 279.5 kB / 387.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.04093, allocations: 51.8 kB / 387.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.04123, allocations: 51.95 kB / 387.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.04129, allocations: 79.97 kB / 387.6 MB, free: 15.6 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.0001857/0.04148, allocations: 268.1 kB / 387.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.178e-05/0.04156, allocations: 95.41 kB / 387.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004527/0.04201, allocations: 386 kB / 388.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.04202, allocations: 4 kB / 388.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.04202, allocations: 0 / 388.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.04203, allocations: 7.984 kB / 388.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.04286, allocations: 0.9134 MB / 389.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.04287, allocations: 4 kB / 389.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.04303, allocations: 67.91 kB / 389.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.04303, allocations: 4 kB / 389.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.04305, allocations: 8 kB / 389.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.04305, allocations: 8.188 kB / 389.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.04305, allocations: 3.938 kB / 389.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.0435, allocations: 0.5292 MB / 389.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.04362, allocations: 107.4 kB / 390 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.04367, allocations: 8 kB / 390 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.04383, allocations: 15.98 kB / 390 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.04386, allocations: 23.91 kB / 390 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.04389, allocations: 27.97 kB / 390 MB, free: 13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003037/0.04419, allocations: 439 kB / 390.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04419, allocations: 0 / 390.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005625/0.04476, allocations: 235.9 kB / 390.7 MB, free: 12.35 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.0003787/0.04513, allocations: 196.2 kB / 390.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.04566, allocations: 0.493 MB / 391.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.04566, allocations: 4 kB / 391.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.04578, allocations: 103.5 kB / 391.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.04653, allocations: 314.2 kB / 391.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.04805, allocations: 1.288 MB / 393.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.04817, allocations: 191.3 kB / 393.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004269/0.0486, allocations: 271.1 kB / 393.5 MB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.04868, allocations: 72.48 kB / 393.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04868, allocations: 0 / 393.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of Templates: time 0.01489/0.06357, allocations: 12.61 MB / 406.2 MB, free: 12.84 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.0679734917357564]