Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001788/0.001788, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.767/1.767, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3848/0.3848, allocations: 37.98 MB / 307.4 MB, free: 10.16 MB / 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 70.25 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.161, allocations: 56.48 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00333/0.1644, allocations: 1.732 MB / 432.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1657, allocations: 0.796 MB / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.1658, allocations: 4 kB / 433.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1661, allocations: 39.89 kB / 433.8 MB, free: 4.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1663, allocations: 47.83 kB / 433.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1665, allocations: 75.84 kB / 433.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1667, allocations: 95.7 kB / 434 MB, free: 4.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1668, allocations: 12.2 kB / 434 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.1669, allocations: 47.67 kB / 434.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.735e-05/0.167, allocations: 31.84 kB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.167, allocations: 4 kB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.564e-05/0.1671, allocations: 43.98 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.1672, allocations: 23.91 kB / 434.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.1672, allocations: 35.73 kB / 434.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1674, allocations: 127.8 kB / 434.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1674, allocations: 0 / 434.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1674, allocations: 0 / 434.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1675, allocations: 0 / 434.3 MB, free: 3.836 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005179/0.168, allocations: 410.9 kB / 434.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.168, allocations: 11.89 kB / 434.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1681, allocations: 16.84 kB / 434.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1683, allocations: 196.8 kB / 434.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1683, allocations: 12.36 kB / 435 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1684, allocations: 4.125 kB / 435 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1685, allocations: 61.55 kB / 435 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1685, allocations: 4 kB / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1686, allocations: 0 / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1686, allocations: 0 / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.1686, allocations: 19.98 kB / 435 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.169, allocations: 292.8 kB / 435.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1692, allocations: 58.62 kB / 435.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.1693, allocations: 20.84 kB / 435.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1693, allocations: 7.984 kB / 435.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.1695, allocations: 63.39 kB / 435.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.1695, allocations: 4 kB / 435.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004948/0.17, allocations: 177.1 kB / 435.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.17, allocations: 51.41 kB / 435.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1702, allocations: 195.3 kB / 435.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1703, allocations: 29.7 kB / 435.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.1703, allocations: 100.1 kB / 436 MB, free: 1.934 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1704, allocations: 23.7 kB / 436 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.1704, allocations: 25.72 kB / 436.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1706, allocations: 330.8 kB / 436.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.1706, allocations: 19.98 kB / 436.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.1707, allocations: 45.58 kB / 436.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1708, allocations: 53.7 kB / 436.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1708, allocations: 0 / 436.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.171, allocations: 105.5 kB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.171, allocations: 8.031 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.171, allocations: 0 / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.171, allocations: 4.375 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.1711, allocations: 15.98 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.1711, allocations: 0 / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.1712, allocations: 15.84 kB / 436.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1712, allocations: 0 / 436.7 MB, free: 1.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001003/0.1713, allocations: 137.7 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.1714, allocations: 7.906 kB / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.1714, allocations: 21.41 kB / 436.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1714, allocations: 0 / 436.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1714, allocations: 0 / 436.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1714, allocations: 7.875 kB / 436.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1719, allocations: 395.3 kB / 437.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1719, allocations: 0 / 437.2 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.1719, allocations: 8 kB / 437.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1719, allocations: 32 / 437.2 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1719, allocations: 11.94 kB / 437.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1719, allocations: 0 / 437.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1719, allocations: 0 / 437.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1722, allocations: 204.1 kB / 437.4 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1722, allocations: 89 kB / 437.5 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1723, allocations: 3.938 kB / 437.5 MB, free: 296 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.1723, allocations: 12 kB / 437.5 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.1724, allocations: 7.984 kB / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.1724, allocations: 0 / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1725, allocations: 156.9 kB / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1725, allocations: 0 / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1728, allocations: 20 kB / 437.7 MB, free: 100 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009707/0.1737, allocations: 477.9 kB / 438.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.174, allocations: 63.91 kB / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.174, allocations: 0 / 438.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/0.1741, allocations: 35.91 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1744, allocations: 31.91 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.1748, allocations: 263.1 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1751, allocations: 0.7041 MB / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.105e-05/0.1752, allocations: 16.88 kB / 439.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1752, allocations: 15.44 kB / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1752, allocations: 0 / 439.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of Templates: time 0.003935/0.1791, allocations: 1.671 MB / 441 MB, free: 12.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)