Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2573/0.2573, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 71.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1628, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.0036/0.1665, allocations: 2.035 MB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1682, allocations: 1.115 MB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1683, allocations: 7.938 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1686, allocations: 39.72 kB / 484.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.169, allocations: 115.3 kB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1693, allocations: 111.6 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.1695, allocations: 207.4 kB / 485.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1697, allocations: 37.67 kB / 485.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1698, allocations: 83.62 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.17, allocations: 75.62 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.17, allocations: 12 kB / 485.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1701, allocations: 51.97 kB / 485.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.1702, allocations: 39.84 kB / 485.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/0.1703, allocations: 71.53 kB / 485.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1706, allocations: 199.3 kB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1706, allocations: 0 / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1706, allocations: 4 kB / 485.6 MB, free: 336 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1706, allocations: 0 / 485.6 MB, free: 336 kB / 350.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.000937/0.1715, allocations: 0.5642 MB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1716, allocations: 8.031 kB / 486.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.1716, allocations: 20.75 kB / 486.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.172, allocations: 256.8 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.172, allocations: 4.375 kB / 486.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.1721, allocations: 12.12 kB / 486.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.1725, allocations: 156.1 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1725, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1725, allocations: 0 / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1725, allocations: 8 kB / 486.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.173, allocations: 107.8 kB / 486.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.1736, allocations: 0.5438 MB / 487.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.1742, allocations: 166.5 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.1744, allocations: 76.78 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1745, allocations: 0 / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.1748, allocations: 139.1 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.1748, allocations: 0 / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000814/0.1757, allocations: 257.6 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.1757, allocations: 59.33 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.176, allocations: 225.6 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.176, allocations: 33.7 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.1761, allocations: 128.3 kB / 488.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.1762, allocations: 35.59 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.1762, allocations: 41.64 kB / 488.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1764, allocations: 326.8 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.1767, allocations: 67.94 kB / 488.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.1769, allocations: 117.6 kB / 488.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.1774, allocations: 193.8 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1774, allocations: 0 / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006058/0.178, allocations: 258.4 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.1781, allocations: 33.7 kB / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1781, allocations: 0 / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1781, allocations: 0 / 489.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1783, allocations: 51.78 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1783, allocations: 0 / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.1785, allocations: 31.81 kB / 489.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1785, allocations: 8 kB / 489.5 MB, free: 12.15 MB / 366.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.000137/0.1787, allocations: 141.8 kB / 489.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1787, allocations: 19.72 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.1788, allocations: 29.38 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1788, allocations: 3.938 kB / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1788, allocations: 0 / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1788, allocations: 0 / 489.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.179, allocations: 237.5 kB / 489.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.179, allocations: 0 / 489.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1792, allocations: 23.97 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1792, allocations: 4 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1792, allocations: 8 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.1792, allocations: 3.938 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1792, allocations: 0 / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/0.18, allocations: 312.7 kB / 490.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1801, allocations: 96.8 kB / 490.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1801, allocations: 4 kB / 490.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.1803, allocations: 27.91 kB / 490.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1804, allocations: 15.97 kB / 490.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1804, allocations: 4 kB / 490.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1805, allocations: 176.5 kB / 490.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1805, allocations: 0 / 490.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1808, allocations: 40 kB / 490.6 MB, free: 10.93 MB / 366.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.001008/0.1818, allocations: 404.5 kB / 491 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.1824, allocations: 219.2 kB / 491.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1824, allocations: 0 / 491.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.1827, allocations: 79.94 kB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.183, allocations: 54.67 kB / 491.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/0.1837, allocations: 312.2 kB / 491.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1841, allocations: 0.728 MB / 492.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.578e-05/0.1842, allocations: 17.55 kB / 492.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.1843, allocations: 27.42 kB / 492.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1843, allocations: 0 / 492.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of Templates: time 0.006541/0.1908, allocations: 2.827 MB / 495.3 MB, free: 6.375 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)