Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001653/0.001653, allocations: 194.9 kB / 16.14 MB, free: 6.699 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.647/1.647, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3818/0.3818, allocations: 39.93 MB / 309.3 MB, free: 9.293 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.2. 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.001466/0.001466, allocations: 67.91 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1646, allocations: 56.88 MB / 433.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003718/0.1684, allocations: 2.061 MB / 435.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1699, allocations: 0.8819 MB / 436.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.17, allocations: 0 / 436.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.1704, allocations: 47.75 kB / 436.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.1706, allocations: 55.7 kB / 436.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.171, allocations: 107.8 kB / 437 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1712, allocations: 179.5 kB / 437.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1714, allocations: 33.94 kB / 437.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1715, allocations: 79.58 kB / 437.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1716, allocations: 71.66 kB / 437.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.1717, allocations: 11.94 kB / 437.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1718, allocations: 43.98 kB / 437.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.1719, allocations: 35.84 kB / 437.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.172, allocations: 71.53 kB / 437.5 MB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.1723, allocations: 183.4 kB / 437.7 MB, free: 256 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1723, allocations: 0 / 437.7 MB, free: 256 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1723, allocations: 7.938 kB / 437.7 MB, free: 248 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1723, allocations: 0 / 437.7 MB, free: 248 kB / 366.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.001003/0.1733, allocations: 0.5487 MB / 438.2 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1733, allocations: 12.03 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.1734, allocations: 20.75 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1737, allocations: 248.8 kB / 438.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1737, allocations: 8.375 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1738, allocations: 12.03 kB / 438.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.1742, allocations: 148.2 kB / 438.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1742, allocations: 4 kB / 438.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1743, allocations: 4 kB / 438.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1743, allocations: 4 kB / 438.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.1748, allocations: 115.6 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.1755, allocations: 0.5477 MB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.1761, allocations: 162.6 kB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.1764, allocations: 72.78 kB / 439.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1764, allocations: 3.938 kB / 439.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.1769, allocations: 139.2 kB / 439.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.1769, allocations: 0 / 439.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008662/0.1777, allocations: 249.3 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.1778, allocations: 63.28 kB / 440 MB, free: 13.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.178, allocations: 227.1 kB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.1781, allocations: 33.7 kB / 440.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1782, allocations: 120.3 kB / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1782, allocations: 35.67 kB / 440.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.1783, allocations: 37.7 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1785, allocations: 330.8 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.1788, allocations: 75.89 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.1791, allocations: 104.2 kB / 440.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.1797, allocations: 193.8 kB / 441.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1797, allocations: 0 / 441.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006817/0.1804, allocations: 262.9 kB / 441.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.1805, allocations: 33.7 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1805, allocations: 0 / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1805, allocations: 3.938 kB / 441.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1807, allocations: 43.91 kB / 441.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.1807, allocations: 4.062 kB / 441.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.1809, allocations: 31.81 kB / 441.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.181, allocations: 12 kB / 441.5 MB, free: 12.09 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.0001536/0.1811, allocations: 133.8 kB / 441.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.1812, allocations: 15.81 kB / 441.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.1813, allocations: 17.41 kB / 441.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.1813, allocations: 7.938 kB / 441.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.1813, allocations: 3.984 kB / 441.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1813, allocations: 4 kB / 441.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.1816, allocations: 233.5 kB / 441.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1816, allocations: 0 / 441.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.1818, allocations: 31.91 kB / 442 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1818, allocations: 0 / 442 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1818, allocations: 0 / 442 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.1818, allocations: 7.922 kB / 442 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1818, allocations: 4 kB / 442 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.1828, allocations: 300.6 kB / 442.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.1828, allocations: 92.94 kB / 442.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1829, allocations: 4 kB / 442.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1831, allocations: 27.97 kB / 442.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.1832, allocations: 15.98 kB / 442.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1832, allocations: 7.984 kB / 442.4 MB, free: 11.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1834, allocations: 164.6 kB / 442.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1834, allocations: 0 / 442.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1836, allocations: 39.98 kB / 442.6 MB, free: 10.9 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.001049/0.1847, allocations: 430.3 kB / 443 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.1854, allocations: 211.2 kB / 443.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1854, allocations: 0 / 443.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.1856, allocations: 79.88 kB / 443.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.186, allocations: 48.14 kB / 443.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.1868, allocations: 354.1 kB / 443.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1872, allocations: 0.7283 MB / 444.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.426e-05/0.1873, allocations: 25.53 kB / 444.5 MB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.1873, allocations: 15.44 kB / 444.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1873, allocations: 0 / 444.5 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Templates: time 0.005975/0.1933, allocations: 2.596 MB / 447.1 MB, free: 6.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)