Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 115.9 kB / 17.05 MB, free: 6.035 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.001131/0.00113, allocations: 188.5 kB / 17.98 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2749/0.2749, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 77.45 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1539, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003503/0.1575, allocations: 1.998 MB / 0.4905 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1594, allocations: 0.8935 MB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.1596, allocations: 11.88 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.1602, allocations: 47.69 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.1606, allocations: 75.55 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.161, allocations: 131.6 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.1613, allocations: 195.4 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.1615, allocations: 29.66 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1616, allocations: 83.67 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1618, allocations: 75.56 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.1618, allocations: 16 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.162, allocations: 55.97 kB / 0.4921 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.743e-05/0.162, allocations: 31.91 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1622, allocations: 75.53 kB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1625, allocations: 191.3 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1625, allocations: 4 kB / 0.4924 GB, free: 7.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1625, allocations: 0 / 0.4924 GB, free: 7.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1626, allocations: 0 / 0.4924 GB, free: 7.852 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001076/0.1636, allocations: 0.5565 MB / 0.4929 GB, free: 7.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1637, allocations: 11.89 kB / 0.4929 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.1638, allocations: 16.75 kB / 0.4929 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.1642, allocations: 252.8 kB / 0.4932 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1643, allocations: 12.28 kB / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.1643, allocations: 8.125 kB / 0.4932 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.1648, allocations: 152.2 kB / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1648, allocations: 0 / 0.4933 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.1648, allocations: 4 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1648, allocations: 4 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.1653, allocations: 115.8 kB / 0.4934 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.166, allocations: 0.5398 MB / 0.494 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.1667, allocations: 166.6 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.167, allocations: 68.8 kB / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.167, allocations: 0 / 0.4942 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.1674, allocations: 139.2 kB / 0.4943 GB, free: 5.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.1674, allocations: 3.938 kB / 0.4943 GB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000895/0.1683, allocations: 257.3 kB / 0.4946 GB, free: 5.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.1684, allocations: 55.34 kB / 0.4946 GB, free: 5.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.1686, allocations: 223.1 kB / 0.4948 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1687, allocations: 33.64 kB / 0.4949 GB, free: 5.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1688, allocations: 132.4 kB / 0.495 GB, free: 4.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.1688, allocations: 27.56 kB / 0.495 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.1689, allocations: 37.7 kB / 0.4951 GB, free: 4.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1691, allocations: 338.8 kB / 0.4954 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.1694, allocations: 67.94 kB / 0.4955 GB, free: 4.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.1696, allocations: 106.5 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.1701, allocations: 193.8 kB / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1702, allocations: 0 / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006346/0.1708, allocations: 258.9 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1708, allocations: 29.7 kB / 0.496 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1709, allocations: 4 kB / 0.496 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1709, allocations: 0 / 0.496 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1711, allocations: 48.02 kB / 0.4961 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1711, allocations: 8 kB / 0.4961 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1713, allocations: 19.89 kB / 0.4961 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.1713, allocations: 19.92 kB / 0.4961 GB, free: 3.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001249/0.1714, allocations: 129.8 kB / 0.4962 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1715, allocations: 15.81 kB / 0.4963 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.013e-05/0.1716, allocations: 21.39 kB / 0.4963 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1716, allocations: 11.92 kB / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1716, allocations: 4 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1716, allocations: 0 / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1718, allocations: 229.5 kB / 0.4965 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1718, allocations: 4 kB / 0.4965 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.172, allocations: 23.97 kB / 0.4965 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.172, allocations: 3.938 kB / 0.4965 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.172, allocations: 4 kB / 0.4965 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1721, allocations: 3.938 kB / 0.4965 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1721, allocations: 0 / 0.4965 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.1729, allocations: 313 kB / 0.4968 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.173, allocations: 88.92 kB / 0.4969 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.173, allocations: 4.062 kB / 0.4969 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1732, allocations: 27.91 kB / 0.497 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.1733, allocations: 19.97 kB / 0.497 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1733, allocations: 4 kB / 0.497 GB, free: 2.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.1735, allocations: 168.6 kB / 0.4971 GB, free: 2.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1735, allocations: 0 / 0.4971 GB, free: 2.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1738, allocations: 36 kB / 0.4972 GB, free: 2.504 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009917/0.1747, allocations: 429.5 kB / 0.4976 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.1754, allocations: 215.2 kB / 0.4978 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1754, allocations: 0 / 0.4978 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1757, allocations: 84.11 kB / 0.4979 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.176, allocations: 43.83 kB / 0.4979 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.1768, allocations: 342.2 kB / 0.4982 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1772, allocations: 0.7318 MB / 0.499 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.646e-05/0.1772, allocations: 23.42 kB / 0.499 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1772, allocations: 0 / 0.499 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of Templates: time 0.00529/0.1825, allocations: 2.789 MB / 0.5017 GB, free: 13.84 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)