Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001749/0.001749, allocations: 194 kB / 18.77 MB, free: 4.742 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.392/1.392, allocations: 222.9 MB / 242.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.205/0.205, allocations: 44.19 MB / 336.8 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.98 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003609/0.1257, allocations: 1.871 MB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1272, allocations: 0.8498 MB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.1273, allocations: 8 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1276, allocations: 55.81 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1279, allocations: 67.66 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.1283, allocations: 143.2 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1286, allocations: 179.5 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1288, allocations: 25.05 kB / 472.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1289, allocations: 75.69 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1291, allocations: 91.64 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.1291, allocations: 8 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.1293, allocations: 31.98 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.1294, allocations: 39.88 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.1295, allocations: 71.53 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1297, allocations: 128 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1297, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1297, allocations: 0 / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1297, allocations: 0 / 472.8 MB, free: 11.2 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.001096/0.1308, allocations: 0.5604 MB / 473.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1308, allocations: 12.03 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.539e-05/0.1309, allocations: 16.75 kB / 473.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1312, allocations: 221 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1312, allocations: 8.359 kB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.1312, allocations: 16.11 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.1317, allocations: 141.5 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1318, allocations: 0 / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1318, allocations: 4 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1318, allocations: 4 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.1325, allocations: 155.8 kB / 473.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.133, allocations: 372.5 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.1338, allocations: 194.3 kB / 474.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003743/0.1341, allocations: 92.75 kB / 474.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1342, allocations: 4 kB / 474.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.1348, allocations: 163.2 kB / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.146e-06/0.1348, allocations: 0 / 474.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003763/0.1385, allocations: 0.8165 MB / 475.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.1386, allocations: 67.33 kB / 475.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.139, allocations: 232.1 kB / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.139, allocations: 29.64 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.1391, allocations: 124.1 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.1392, allocations: 39.45 kB / 476 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-05/0.1393, allocations: 33.7 kB / 476.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.1395, allocations: 334.8 kB / 476.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/0.1402, allocations: 159.8 kB / 476.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.1409, allocations: 175.8 kB / 476.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.1421, allocations: 362 kB / 477.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1422, allocations: 4 kB / 477.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001586/0.1438, allocations: 452.4 kB / 477.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/0.1438, allocations: 63.41 kB / 477.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1438, allocations: 0 / 477.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1439, allocations: 4 kB / 477.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.1443, allocations: 67.89 kB / 477.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1443, allocations: 3.938 kB / 477.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.1448, allocations: 68.47 kB / 477.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.1449, allocations: 8 kB / 477.7 MB, free: 5.988 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 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.1451, allocations: 133.8 kB / 477.9 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.1452, allocations: 15.81 kB / 477.9 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.1474, allocations: 406.3 kB / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1475, allocations: 0 / 478.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.1475, allocations: 7.875 kB / 478.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.1475, allocations: 4 kB / 478.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.1498, allocations: 0.6895 MB / 479 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1498, allocations: 7.984 kB / 479 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.1502, allocations: 67.91 kB / 479.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.1502, allocations: 7.938 kB / 479.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1503, allocations: 0 / 479.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1503, allocations: 3.984 kB / 479.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1503, allocations: 0 / 479.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.1517, allocations: 482.9 kB / 479.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1518, allocations: 92.86 kB / 479.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1519, allocations: 8 kB / 479.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.1523, allocations: 63.84 kB / 479.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.1525, allocations: 51.92 kB / 479.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1525, allocations: 4 kB / 479.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1527, allocations: 172.6 kB / 479.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1527, allocations: 0 / 479.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003284/0.153, allocations: 43.91 kB / 480 MB, free: 3.66 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 (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.0009798/0.154, allocations: 424.5 kB / 480.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.1555, allocations: 473.6 kB / 480.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1555, allocations: 0 / 480.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000705/0.1562, allocations: 175.8 kB / 481 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.1566, allocations: 31.97 kB / 481 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.1576, allocations: 418.3 kB / 481.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1579, allocations: 0.7165 MB / 482.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.158, allocations: 23.42 kB / 482.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.158, allocations: 0 / 482.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Templates: time 0.005517/0.1636, allocations: 3.125 MB / 485.3 MB, free: 14.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)