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.001072/0.001072, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.002617, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001046/0.001046, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001426/0.002472, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8737/0.8737, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1343/1.008, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1699/0.1699, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0193/0.1892, allocations: 12.3 MB / 266.1 MB, free: 3.887 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 2.665e-06/2.665e-06, allocations: 4 kB / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.71e-05, allocations: 10.19 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.00632/0.006337, allocations: 7.978 MB / 275.4 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003561/0.009899, allocations: 2.53 MB / 277.9 MB, free: 8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.01024, allocations: 31.75 kB / 277.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.01068, allocations: 254.2 kB / 278.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009305/0.01161, allocations: 0.66 MB / 278.8 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.01347, allocations: 1.005 MB / 279.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.01584, allocations: 2.552 MB / 282.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.0167, allocations: 0.6083 MB / 283 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.01798, allocations: 1.174 MB / 284.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.01875, allocations: 0.6934 MB / 284.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.01888, allocations: 84 kB / 285 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.01933, allocations: 227.6 kB / 285.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.01956, allocations: 319.1 kB / 285.5 MB, free: 380 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.01984, allocations: 303.5 kB / 285.8 MB, free: 76 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1158/0.1357, allocations: 0.8806 MB / 286.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.1357, allocations: 0 / 286.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1357, allocations: 0.9844 kB / 286.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.1357, allocations: 1.875 kB / 286.7 MB, free: 5.203 MB / 282.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.001724/0.1374, allocations: 1.351 MB / 288 MB, free: 4.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1374, allocations: 13.64 kB / 288 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.1379, allocations: 276.7 kB / 288.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.1385, allocations: 483.9 kB / 288.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.1386, allocations: 404 kB / 289.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1387, allocations: 90.75 kB / 289.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.1396, allocations: 1.354 MB / 290.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.1397, allocations: 7.906 kB / 290.6 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.1397, allocations: 44.38 kB / 290.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.1398, allocations: 38.28 kB / 290.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.1402, allocations: 375.9 kB / 291.1 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.1434, allocations: 5.093 MB / 296.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1436, allocations: 199.2 kB / 296.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/0.1437, allocations: 68.97 kB / 296.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/0.1445, allocations: 0.6402 MB / 297.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1445, allocations: 39.08 kB / 297.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.1445, allocations: 2.656 kB / 297.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001247/0.1457, allocations: 0.7886 MB / 297.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.1457, allocations: 57.66 kB / 297.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.1462, allocations: 0.7033 MB / 298.7 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1462, allocations: 32.02 kB / 298.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1464, allocations: 0.5635 MB / 299.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.1465, allocations: 140 kB / 299.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.1467, allocations: 238.1 kB / 299.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1468, allocations: 391.1 kB / 300 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1469, allocations: 108.3 kB / 300.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.1474, allocations: 0.8265 MB / 300.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007978/0.1482, allocations: 1.153 MB / 302.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.1482, allocations: 6.875 kB / 302.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008229/0.149, allocations: 0.808 MB / 302.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.149, allocations: 16.19 kB / 302.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.149, allocations: 25.84 kB / 302.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.1491, allocations: 35.41 kB / 303 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.1495, allocations: 312.6 kB / 303.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.1495, allocations: 57.14 kB / 303.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.1499, allocations: 50.62 kB / 303.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.1499, allocations: 62.78 kB / 303.4 MB, free: 11.37 MB / 298.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.0002013/0.1502, allocations: 218.8 kB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.1502, allocations: 64.25 kB / 303.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.1506, allocations: 328 kB / 304 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1506, allocations: 3.594 kB / 304 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.1506, allocations: 1.469 kB / 304 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1506, allocations: 1.922 kB / 304 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.1513, allocations: 0.6494 MB / 304.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1513, allocations: 5.594 kB / 304.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.1515, allocations: 80.47 kB / 304.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1516, allocations: 86.19 kB / 304.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1516, allocations: 3.906 kB / 304.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1516, allocations: 10.81 kB / 304.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1516, allocations: 2.594 kB / 304.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1516, allocations: 5.938 kB / 304.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.152, allocations: 417.4 kB / 305.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.1521, allocations: 19.8 kB / 305.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.1522, allocations: 16.17 kB / 305.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.1523, allocations: 28.97 kB / 305.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.1523, allocations: 17.25 kB / 305.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.1526, allocations: 296 kB / 305.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1526, allocations: 1.094 kB / 305.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006541/0.1533, allocations: 231 kB / 305.9 MB, free: 10.54 MB / 298.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.0003697/0.1536, allocations: 177.7 kB / 306.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.154, allocations: 479 kB / 306.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.012e-05/0.154, allocations: 19.72 kB / 306.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.1542, allocations: 119.3 kB / 306.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.1552, allocations: 1.725 MB / 308.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.1625, allocations: 1.24 MB / 309.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1626, allocations: 198.6 kB / 309.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004201/0.163, allocations: 149.6 kB / 310 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.1635, allocations: 310.6 kB / 310.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1635, allocations: 0 / 310.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of Templates: time 0.0139/0.1774, allocations: 12.05 MB / 322.3 MB, free: 14.93 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0655318330973387]