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.001557/0.001557, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001736/0.001736, allocations: 194 kB / 18.12 MB, free: 5.383 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.442/1.442, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2681/0.2681, allocations: 44.19 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 60.72 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003278/0.1251, allocations: 1.868 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1264, allocations: 0.8576 MB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.1264, allocations: 3.938 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1267, allocations: 47.88 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.1269, allocations: 75.66 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1273, allocations: 143.1 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1275, allocations: 175.5 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1276, allocations: 33.05 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1277, allocations: 71.69 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1279, allocations: 91.64 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1279, allocations: 4 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.128, allocations: 35.98 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.345e-05/0.1281, allocations: 43.81 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.1282, allocations: 67.53 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.1284, allocations: 167.7 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1284, allocations: 7.938 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1284, allocations: 4 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1284, allocations: 0 / 472.2 MB, free: 11.15 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.0011/0.1295, allocations: 0.5527 MB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.1296, allocations: 12.03 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.1297, allocations: 16.75 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.1299, allocations: 224.9 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1299, allocations: 8.375 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.13, allocations: 12.11 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1305, allocations: 137.6 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1305, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.1305, allocations: 3.984 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1305, allocations: 0 / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.1313, allocations: 163.8 kB / 473.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1317, allocations: 380.4 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000762/0.1325, allocations: 194.4 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.1329, allocations: 92.75 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1329, allocations: 4 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005579/0.1335, allocations: 163.2 kB / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1335, allocations: 0 / 474.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003611/0.1371, allocations: 0.8047 MB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.1372, allocations: 59.34 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1374, allocations: 240 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1374, allocations: 26.27 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.1375, allocations: 124.1 kB / 475.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.1376, allocations: 39.45 kB / 475.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.1377, allocations: 33.7 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1378, allocations: 326.8 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007109/0.1385, allocations: 171.8 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.1393, allocations: 181.9 kB / 476.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.1405, allocations: 355.9 kB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1405, allocations: 0 / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00148/0.142, allocations: 463.2 kB / 476.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.245e-05/0.1421, allocations: 59.41 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1421, allocations: 0 / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1421, allocations: 0 / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.1426, allocations: 75.84 kB / 477 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1426, allocations: 3.938 kB / 477 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.143, allocations: 59.91 kB / 477.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.143, allocations: 11.98 kB / 477.1 MB, free: 5.957 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.0001438/0.1432, allocations: 129.8 kB / 477.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1432, allocations: 15.81 kB / 477.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.1447, allocations: 410.7 kB / 477.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1448, allocations: 0 / 477.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1448, allocations: 3.938 kB / 477.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1448, allocations: 7.984 kB / 477.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.1466, allocations: 0.6959 MB / 478.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1466, allocations: 0 / 478.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.147, allocations: 75.84 kB / 478.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.1471, allocations: 7.938 kB / 478.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1471, allocations: 7.984 kB / 478.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1471, allocations: 0 / 478.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1471, allocations: 0 / 478.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.1485, allocations: 471 kB / 478.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-05/0.1486, allocations: 96.84 kB / 479 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.1486, allocations: 8 kB / 479 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.1491, allocations: 59.91 kB / 479.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.1492, allocations: 51.92 kB / 479.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1493, allocations: 4 kB / 479.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1494, allocations: 176.6 kB / 479.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1494, allocations: 0 / 479.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003001/0.1497, allocations: 43.91 kB / 479.4 MB, free: 3.625 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.0009848/0.1507, allocations: 416 kB / 479.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.1522, allocations: 478.3 kB / 480.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1523, allocations: 4 kB / 480.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006983/0.153, allocations: 187.7 kB / 480.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1534, allocations: 27.97 kB / 480.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008934/0.1543, allocations: 388.7 kB / 480.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1545, allocations: 0.7243 MB / 481.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1547, allocations: 13.44 kB / 481.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.1548, allocations: 19.42 kB / 481.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1548, allocations: 0 / 481.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Templates: time 0.005945/0.1607, allocations: 3.112 MB / 484.7 MB, free: 14.38 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)