Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009282, allocations: 94.92 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, allocations: 182.3 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.25 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002447/0.126, allocations: 1.5 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1273, allocations: 0.8037 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.1274, allocations: 3.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.1276, allocations: 55.84 kB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1278, allocations: 71.69 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1283, allocations: 179.2 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1285, allocations: 155.5 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1286, allocations: 29.47 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1288, allocations: 67.69 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1289, allocations: 91.64 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.129, allocations: 8 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.1291, allocations: 27.98 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.1291, allocations: 35.84 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.1292, allocations: 53.61 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1294, allocations: 124 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1294, allocations: 4 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1294, allocations: 3.938 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1295, allocations: 0 / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001127/0.1306, allocations: 0.5605 MB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1306, allocations: 8.031 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.303e-05/0.1307, allocations: 19.72 kB / 475.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1309, allocations: 219.8 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.131, allocations: 4 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.131, allocations: 11.98 kB / 475.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.1315, allocations: 177.4 kB / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1315, allocations: 0 / 475.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1316, allocations: 4 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1316, allocations: 0 / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.1323, allocations: 215.7 kB / 476 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.1331, allocations: 472.4 kB / 476.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.1339, allocations: 242.4 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.1343, allocations: 124.8 kB / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1343, allocations: 0 / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.1349, allocations: 191.2 kB / 477 MB, free: 8.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1349, allocations: 4 kB / 477 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003545/0.1385, allocations: 1.066 MB / 478.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1385, allocations: 55.41 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1388, allocations: 238.9 kB / 478.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.1388, allocations: 33.7 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.1389, allocations: 124.1 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.1389, allocations: 47.53 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.139, allocations: 0.5625 kB / 478.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1391, allocations: 334.8 kB / 478.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.1398, allocations: 223.8 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006636/0.1405, allocations: 223.9 kB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.1411, allocations: 263.2 kB / 479.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1411, allocations: 4 kB / 479.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001445/0.1426, allocations: 0.5611 MB / 480.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.1427, allocations: 59.41 kB / 480.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1427, allocations: 0 / 480.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1427, allocations: 0 / 480.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1431, allocations: 99.84 kB / 480.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1431, allocations: 0 / 480.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.1435, allocations: 91.89 kB / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1436, allocations: 4 kB / 480.4 MB, free: 4.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.1437, allocations: 142.3 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1437, allocations: 15.81 kB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.1452, allocations: 0.5013 MB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1453, allocations: 4 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1453, allocations: 3.984 kB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1453, allocations: 0 / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.147, allocations: 0.8144 MB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.147, allocations: 3.984 kB / 481.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.1474, allocations: 99.84 kB / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1474, allocations: 0 / 482 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.1474, allocations: 4 kB / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1474, allocations: 0 / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1474, allocations: 0 / 482 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.1489, allocations: 0.5771 MB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.149, allocations: 100.9 kB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.149, allocations: 0 / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.1494, allocations: 87.91 kB / 482.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.1496, allocations: 51.91 kB / 482.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1496, allocations: 4 kB / 482.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1497, allocations: 176.4 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1498, allocations: 0 / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000309/0.1501, allocations: 51.98 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009456/0.151, allocations: 425 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.1525, allocations: 0.5609 MB / 484 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1526, allocations: 4 kB / 484 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.1533, allocations: 235.7 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1537, allocations: 43.88 kB / 484.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009164/0.1546, allocations: 398 kB / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.1549, allocations: 0.7282 MB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1551, allocations: 25.42 kB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.1552, allocations: 23.42 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1552, allocations: 3.938 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Templates: time 0.007137/0.1623, allocations: 3.012 MB / 488.5 MB, free: 12.53 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)