Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001379, 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.001103/0.001103, allocations: 191.6 kB / 16.25 MB, free: 6.625 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.634/1.634, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.4043/0.4043, allocations: 39.92 MB / 309.4 MB, free: 9.355 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.001537/0.001537, allocations: 72.36 kB / 377.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1699, allocations: 56.88 MB / 434 MB, free: 4.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003562/0.1736, allocations: 1.744 MB / 435.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1749, allocations: 0.7962 MB / 436.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.175, allocations: 0 / 436.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1754, allocations: 75.81 kB / 436.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.1757, allocations: 71.8 kB / 436.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1759, allocations: 75.84 kB / 436.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1761, allocations: 111.7 kB / 436.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1762, allocations: 16.2 kB / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.1763, allocations: 55.7 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1764, allocations: 55.83 kB / 437 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1765, allocations: 4 kB / 437 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.75e-05/0.1766, allocations: 39.98 kB / 437 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.1766, allocations: 23.92 kB / 437.1 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1767, allocations: 39.72 kB / 437.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1769, allocations: 119.8 kB / 437.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1769, allocations: 4 kB / 437.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1769, allocations: 0 / 437.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.177, allocations: 0 / 437.2 MB, free: 0.7891 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.0005709/0.1775, allocations: 418.9 kB / 437.6 MB, free: 340 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1776, allocations: 15.89 kB / 437.6 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1776, allocations: 12.75 kB / 437.7 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1779, allocations: 212.8 kB / 437.9 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1779, allocations: 384 / 437.9 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1779, allocations: 12.12 kB / 437.9 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1781, allocations: 57.61 kB / 437.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1782, allocations: 3.984 kB / 437.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1782, allocations: 0 / 437.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1782, allocations: 4 kB / 437.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.1783, allocations: 19.98 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1787, allocations: 296.8 kB / 438.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1788, allocations: 58.61 kB / 438.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.1789, allocations: 24.8 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1789, allocations: 0 / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.1791, allocations: 71.31 kB / 438.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1792, allocations: 0 / 438.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006361/0.1798, allocations: 181.2 kB / 438.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1799, allocations: 51.41 kB / 438.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1801, allocations: 214.2 kB / 438.8 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1801, allocations: 25.7 kB / 438.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.1802, allocations: 108.1 kB / 439 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1803, allocations: 23.66 kB / 439 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.1803, allocations: 25.7 kB / 439 MB, free: 14.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1805, allocations: 326.8 kB / 439.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.1806, allocations: 20 kB / 439.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.1807, allocations: 41.64 kB / 439.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1808, allocations: 61.69 kB / 439.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1808, allocations: 0 / 439.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.181, allocations: 105.4 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.181, allocations: 4 kB / 439.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1811, allocations: 4.031 kB / 439.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1811, allocations: 0 / 439.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1812, allocations: 16 kB / 439.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1812, allocations: 0 / 439.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1813, allocations: 11.92 kB / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1813, allocations: 4 kB / 439.6 MB, free: 14.17 MB / 382.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.0001335/0.1814, allocations: 129.8 kB / 439.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1814, allocations: 11.89 kB / 439.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.1815, allocations: 21.41 kB / 439.8 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1815, allocations: 0 / 439.8 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1815, allocations: 0 / 439.8 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1816, allocations: 3.938 kB / 439.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.1821, allocations: 395.4 kB / 440.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1821, allocations: 4.359 kB / 440.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.82e-05/0.1821, allocations: 8 kB / 440.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.1821, allocations: 8 kB / 440.2 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1822, allocations: 7.969 kB / 440.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1822, allocations: 0 / 440.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1822, allocations: 8.016 kB / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1824, allocations: 200.3 kB / 440.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.1825, allocations: 93.03 kB / 440.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1826, allocations: 7.938 kB / 440.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.1826, allocations: 3.938 kB / 440.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.1827, allocations: 15.98 kB / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.868e-05/0.1827, allocations: 4 kB / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1829, allocations: 160.2 kB / 440.7 MB, free: 13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1829, allocations: 0 / 440.7 MB, free: 13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1831, allocations: 20 kB / 440.7 MB, free: 12.98 MB / 382.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.001158/0.1843, allocations: 472.5 kB / 441.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1845, allocations: 59.92 kB / 441.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1845, allocations: 0 / 441.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.1846, allocations: 31.92 kB / 441.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.185, allocations: 27.83 kB / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.1856, allocations: 271.1 kB / 441.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1859, allocations: 0.7119 MB / 442.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.417e-05/0.186, allocations: 13.19 kB / 442.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.186, allocations: 23.42 kB / 442.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.186, allocations: 0 / 442.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Templates: time 0.005004/0.191, allocations: 1.681 MB / 443.9 MB, free: 9.684 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)