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.001443/0.001443, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001788/0.001788, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.8279/0.8279, allocations: 158.6 MB / 186 MB, free: 2.766 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.1177/0.1177, allocations: 32.37 MB / 270.7 MB, free: 14.6 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 1.272e-06/1.272e-06, allocations: 0 / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.453e-05, allocations: 2.312 kB / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1181/0.1181, allocations: 7.894 MB / 307 MB, free: 16.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1213, allocations: 2.518 MB / 309.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.1216, allocations: 29.22 kB / 309.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.122, allocations: 245.8 kB / 309.7 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000877/0.1229, allocations: 0.6693 MB / 310.4 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1246, allocations: 1.028 MB / 311.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.1268, allocations: 2.487 MB / 313.9 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007657/0.1275, allocations: 0.6203 MB / 314.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.1289, allocations: 1.141 MB / 315.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007489/0.1297, allocations: 0.6909 MB / 316.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1298, allocations: 86.88 kB / 316.5 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.1302, allocations: 217.5 kB / 316.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.1305, allocations: 398.8 kB / 317.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.1309, allocations: 383.6 kB / 317.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1319, allocations: 1.001 MB / 318.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1319, allocations: 0 / 318.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1319, allocations: 1.188 kB / 318.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.132, allocations: 0 / 318.4 MB, free: 9.98 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.001318/0.1333, allocations: 1.128 MB / 319.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.1333, allocations: 9.156 kB / 319.6 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.1336, allocations: 196.9 kB / 319.8 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.1342, allocations: 485 kB / 320.2 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.1343, allocations: 404.9 kB / 320.6 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.236e-05/0.1344, allocations: 87.23 kB / 320.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.1351, allocations: 1.359 MB / 322.1 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1351, allocations: 4.125 kB / 322.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.1352, allocations: 39.94 kB / 322.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.1352, allocations: 45.3 kB / 322.2 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.1356, allocations: 380.5 kB / 322.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.1379, allocations: 5.082 MB / 327.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1381, allocations: 205.4 kB / 327.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.1382, allocations: 65.48 kB / 327.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/0.1387, allocations: 0.6502 MB / 328.5 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.1387, allocations: 42.8 kB / 328.6 MB, free: 112 kB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 1.032e-06/0.1388, allocations: 0 / 328.6 MB, free: 112 kB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009432/0.1397, allocations: 0.7077 MB / 329.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1397, allocations: 55.41 kB / 329.3 MB, free: 15.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.1401, allocations: 0.7075 MB / 330.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1402, allocations: 33.7 kB / 330.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1404, allocations: 0.5574 MB / 330.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.1404, allocations: 150.9 kB / 330.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1406, allocations: 230.6 kB / 331 MB, free: 13.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1407, allocations: 386.6 kB / 331.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1408, allocations: 105.4 kB / 331.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.1412, allocations: 0.8221 MB / 332.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.1419, allocations: 1.082 MB / 333.4 MB, free: 10.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.1419, allocations: 4 kB / 333.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0006881/0.1426, allocations: 0.8047 MB / 334.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1426, allocations: 16 kB / 334.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.1426, allocations: 28.81 kB / 334.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.1426, allocations: 32 kB / 334.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.143, allocations: 280.2 kB / 334.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.1431, allocations: 51.73 kB / 334.6 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.1434, allocations: 56 kB / 334.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.1434, allocations: 63.98 kB / 334.7 MB, free: 9.156 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.0001662/0.1436, allocations: 223.9 kB / 334.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.1436, allocations: 59.88 kB / 335 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.144, allocations: 340 kB / 335.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.144, allocations: 6.203 kB / 335.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.144, allocations: 0 / 335.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.144, allocations: 0 / 335.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.1446, allocations: 0.6402 MB / 336 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1446, allocations: 4 kB / 336 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.1447, allocations: 68.09 kB / 336.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1447, allocations: 4 kB / 336.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1447, allocations: 8 kB / 336.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.1447, allocations: 11.3 kB / 336.1 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1447, allocations: 0 / 336.1 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.145, allocations: 424 kB / 336.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1451, allocations: 83.45 kB / 336.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.1452, allocations: 9.641 kB / 336.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.1453, allocations: 20.02 kB / 336.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.1454, allocations: 27.91 kB / 336.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1454, allocations: 19.97 kB / 336.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001985/0.1456, allocations: 295.3 kB / 336.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1456, allocations: 0 / 336.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005401/0.1461, allocations: 235.9 kB / 337.2 MB, free: 6.629 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.000307/0.1464, allocations: 180.1 kB / 337.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1468, allocations: 462.2 kB / 337.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.501e-05/0.1468, allocations: 17.81 kB / 337.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.1469, allocations: 85.39 kB / 337.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.1475, allocations: 302.4 kB / 338.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1489, allocations: 1.266 MB / 339.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.149, allocations: 191.3 kB / 339.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003109/0.1493, allocations: 147.7 kB / 339.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.1497, allocations: 310.9 kB / 340.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1497, allocations: 0 / 340.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of Templates: time 0.01399/0.1637, allocations: 12.6 MB / 352.7 MB, free: 7.148 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 -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.110244574956596]