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.00107/0.00107, allocations: 96.39 kB / 16.99 MB, free: 6.402 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.001028/0.001028, allocations: 178 kB / 17.88 MB, free: 5.957 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.417/1.417, allocations: 223.2 MB / 241.8 MB, free: 368 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.2475/0.2475, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 12 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002021/0.1346, allocations: 1.47 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1358, allocations: 0.7919 MB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.1359, allocations: 8 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1361, allocations: 55.84 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1363, allocations: 67.72 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.1367, allocations: 182.7 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1369, allocations: 115.8 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1371, allocations: 17.48 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1372, allocations: 71.73 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1373, allocations: 79.72 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.1373, allocations: 8 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.216e-05/0.1374, allocations: 31.92 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.1375, allocations: 43.81 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.1376, allocations: 41.64 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1377, allocations: 128 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1377, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1377, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1378, allocations: 0 / 474.6 MB, free: 10.64 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.001063/0.1388, allocations: 0.5721 MB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1389, allocations: 15.95 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.1389, allocations: 15.81 kB / 475.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1392, allocations: 230.6 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1392, allocations: 7.938 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.1393, allocations: 7.984 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.1398, allocations: 169.5 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1398, allocations: 4 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1398, allocations: 0 / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1398, allocations: 0 / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.1406, allocations: 215.8 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.1415, allocations: 464.5 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.1423, allocations: 242.4 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1424, allocations: 4 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.1429, allocations: 199 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.285e-06/0.143, allocations: 4 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003998/0.147, allocations: 1.063 MB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.1471, allocations: 59.41 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.1474, allocations: 243.1 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.1474, allocations: 37.7 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.1475, allocations: 124.1 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.1475, allocations: 35.69 kB / 478.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.1476, allocations: 4 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1477, allocations: 342.7 kB / 478.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007581/0.1485, allocations: 219.9 kB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.1493, allocations: 231.6 kB / 479 MB, free: 5.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.15, allocations: 263.8 kB / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.15, allocations: 0 / 479.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001612/0.1517, allocations: 0.5571 MB / 479.8 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.1517, allocations: 67.39 kB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1518, allocations: 0 / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1518, allocations: 0 / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.1522, allocations: 99.78 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1522, allocations: 0 / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.1527, allocations: 87.91 kB / 480.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1527, allocations: 8 kB / 480.1 MB, free: 4.852 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.0001706/0.1529, allocations: 146.2 kB / 480.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.1529, allocations: 15.81 kB / 480.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1546, allocations: 0.5065 MB / 480.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1546, allocations: 4 kB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1546, allocations: 0 / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1546, allocations: 0 / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.1566, allocations: 0.8247 MB / 481.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1566, allocations: 0 / 481.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.157, allocations: 91.91 kB / 481.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.157, allocations: 11.92 kB / 481.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.157, allocations: 0 / 481.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.157, allocations: 0 / 481.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.157, allocations: 0 / 481.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1586, allocations: 0.5809 MB / 482.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.1587, allocations: 96.91 kB / 482.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.1587, allocations: 4 kB / 482.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.1592, allocations: 87.91 kB / 482.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.1593, allocations: 51.91 kB / 482.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1593, allocations: 4 kB / 482.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1595, allocations: 188.6 kB / 482.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1595, allocations: 4 kB / 482.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1598, allocations: 40 kB / 482.7 MB, free: 2.109 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.0008304/0.1606, allocations: 404.3 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.1623, allocations: 0.5725 MB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1624, allocations: 0 / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.1632, allocations: 243.7 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.1635, allocations: 32.59 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.1645, allocations: 390 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1648, allocations: 0.7322 MB / 485.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.165, allocations: 37.38 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.1651, allocations: 23.38 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1651, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Templates: time 0.006732/0.1718, allocations: 3.042 MB / 488.2 MB, free: 12.74 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)