Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001104, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01174/0.01174, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.768/1.768, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4312/0.4312, allocations: 40.01 MB / 310.7 MB, free: 9.895 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.0006848/0.0006848, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1703, allocations: 57.95 MB / 437.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003179/0.1736, allocations: 1.413 MB / 438.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1756, allocations: 0.7768 MB / 439.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1758, allocations: 0 / 439.6 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.1762, allocations: 39.83 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.1765, allocations: 43.83 kB / 439.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.177, allocations: 75.84 kB / 439.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.1774, allocations: 91.7 kB / 439.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1775, allocations: 16.19 kB / 439.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.1777, allocations: 43.78 kB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1779, allocations: 27.86 kB / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1779, allocations: 0 / 439.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1781, allocations: 35.98 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.1782, allocations: 23.84 kB / 440 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1783, allocations: 53.52 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1786, allocations: 111.9 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1787, allocations: 0 / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1787, allocations: 0 / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1787, allocations: 0 / 440.2 MB, free: 15.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008225/0.1795, allocations: 395.1 kB / 440.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.466e-05/0.1796, allocations: 8.031 kB / 440.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.1797, allocations: 12.75 kB / 440.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1801, allocations: 208 kB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1801, allocations: 4.375 kB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1801, allocations: 8.125 kB / 440.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1804, allocations: 53.67 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1804, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1804, allocations: 0 / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1805, allocations: 4 kB / 440.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1806, allocations: 19.98 kB / 440.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.1812, allocations: 284.9 kB / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.1815, allocations: 58.61 kB / 441.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.381e-05/0.1815, allocations: 24.86 kB / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.1816, allocations: 0 / 441.2 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.1819, allocations: 67.39 kB / 441.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.1819, allocations: 0 / 441.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008343/0.1827, allocations: 173.2 kB / 441.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.1828, allocations: 51.41 kB / 441.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1831, allocations: 170.2 kB / 441.7 MB, free: 13.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1831, allocations: 37.62 kB / 441.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.1832, allocations: 96.14 kB / 441.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.1833, allocations: 27.64 kB / 441.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.1833, allocations: 21.66 kB / 441.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1836, allocations: 322.8 kB / 442.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.1836, allocations: 23.98 kB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.113e-05/0.1837, allocations: 37.7 kB / 442.2 MB, free: 13.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1839, allocations: 57.7 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1839, allocations: 0 / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002799/0.1842, allocations: 105.5 kB / 442.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.1843, allocations: 8 kB / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1843, allocations: 0 / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1843, allocations: 0 / 442.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1844, allocations: 15.98 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.1845, allocations: 7.938 kB / 442.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.1845, allocations: 7.969 kB / 442.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1846, allocations: 4 kB / 442.4 MB, free: 12.92 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.0001474/0.1847, allocations: 125.6 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.1848, allocations: 15.8 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.1848, allocations: 12.72 kB / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1849, allocations: 4 kB / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1849, allocations: 0 / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1849, allocations: 3.938 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.1855, allocations: 391.3 kB / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1855, allocations: 0 / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.138e-05/0.1856, allocations: 11.98 kB / 443 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1856, allocations: 0 / 443 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1856, allocations: 7.938 kB / 443 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1856, allocations: 0 / 443 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1856, allocations: 0 / 443 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1859, allocations: 204.5 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.186, allocations: 92.98 kB / 443.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.1861, allocations: 7.938 kB / 443.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.1862, allocations: 4 kB / 443.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.1863, allocations: 7.984 kB / 443.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1863, allocations: 4 kB / 443.3 MB, free: 11.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1865, allocations: 136.1 kB / 443.4 MB, free: 11.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1865, allocations: 4 kB / 443.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.1869, allocations: 27.84 kB / 443.5 MB, free: 11.78 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.00169/0.1886, allocations: 476.9 kB / 443.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1888, allocations: 55.92 kB / 444 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1889, allocations: 0 / 444 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.189, allocations: 39.91 kB / 444 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.1895, allocations: 23.98 kB / 444 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.1904, allocations: 238.1 kB / 444.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1908, allocations: 0.7004 MB / 445 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.416e-05/0.1909, allocations: 17.17 kB / 445 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.191, allocations: 19.44 kB / 445 MB, free: 10.19 MB / 382.1 MB Notification: Performance of SimCode: time 3.226e-06/0.191, allocations: 0 / 445 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Templates: time 0.006917/0.1979, allocations: 1.604 MB / 446.6 MB, free: 8.586 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: