Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001014, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001101/0.001101, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3693/0.3693, allocations: 38.02 MB / 308.4 MB, free: 10.38 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.0008109/0.0008109, allocations: 16.22 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1715, allocations: 57.52 MB / 433.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002413/0.174, allocations: 1.37 MB / 435.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1752, allocations: 0.7343 MB / 436 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.1753, allocations: 0 / 436 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1756, allocations: 31.83 kB / 436.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1758, allocations: 55.86 kB / 436.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.1761, allocations: 71.8 kB / 436.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1762, allocations: 63.84 kB / 436.2 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1764, allocations: 8.219 kB / 436.3 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.1764, allocations: 39.84 kB / 436.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.1765, allocations: 31.84 kB / 436.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1766, allocations: 4 kB / 436.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.423e-05/0.1766, allocations: 31.92 kB / 436.4 MB, free: 3.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1767, allocations: 35.78 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.1768, allocations: 41.64 kB / 436.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1769, allocations: 100.1 kB / 436.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1769, allocations: 0 / 436.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.177, allocations: 0 / 436.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.177, allocations: 0 / 436.5 MB, free: 2.922 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.0006675/0.1776, allocations: 418.7 kB / 436.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1777, allocations: 8.031 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.1778, allocations: 19.86 kB / 437 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.1781, allocations: 214.8 kB / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1781, allocations: 0 / 437.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1781, allocations: 7.938 kB / 437.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1783, allocations: 57.61 kB / 437.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1783, allocations: 0 / 437.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1784, allocations: 0 / 437.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.1784, allocations: 0 / 437.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.1784, allocations: 23.94 kB / 437.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.1789, allocations: 292.9 kB / 437.6 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1791, allocations: 58.62 kB / 437.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1791, allocations: 3.984 kB / 437.6 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1793, allocations: 71.5 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1793, allocations: 4 kB / 437.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.1799, allocations: 180.9 kB / 437.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1799, allocations: 55.41 kB / 437.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1802, allocations: 254.5 kB / 438.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1802, allocations: 37.69 kB / 438.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.1803, allocations: 112.1 kB / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.1804, allocations: 23.66 kB / 438.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.1804, allocations: 4 kB / 438.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1806, allocations: 330.8 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1806, allocations: 15.98 kB / 438.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.488e-05/0.1807, allocations: 41.64 kB / 438.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.1807, allocations: 20 kB / 438.7 MB, free: 500 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1808, allocations: 0 / 438.7 MB, free: 500 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.1809, allocations: 101.5 kB / 438.8 MB, free: 392 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.181, allocations: 11.97 kB / 438.9 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.181, allocations: 8.141 kB / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.181, allocations: 0 / 438.9 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.1811, allocations: 15.94 kB / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1811, allocations: 7.984 kB / 438.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.1812, allocations: 0 / 438.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1812, allocations: 8 kB / 438.9 MB, free: 340 kB / 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1813, allocations: 134.9 kB / 439 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.1814, allocations: 15.81 kB / 439 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.1814, allocations: 21.39 kB / 439.1 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1814, allocations: 7.953 kB / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1814, allocations: 0 / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1814, allocations: 3.938 kB / 439.1 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.1819, allocations: 395.7 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1819, allocations: 3.984 kB / 439.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.182, allocations: 19.89 kB / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.182, allocations: 0 / 439.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.182, allocations: 12.03 kB / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.182, allocations: 0 / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.182, allocations: 0 / 439.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1822, allocations: 218.1 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1823, allocations: 92.91 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1823, allocations: 4 kB / 439.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1824, allocations: 8 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1825, allocations: 7.984 kB / 439.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1825, allocations: 4 kB / 439.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1827, allocations: 211.9 kB / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1827, allocations: 0 / 440 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1829, allocations: 20 kB / 440 MB, free: 15.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.184, allocations: 468.8 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1842, allocations: 59.89 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1842, allocations: 4 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.1843, allocations: 20 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1845, allocations: 39.91 kB / 440.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.1851, allocations: 298.9 kB / 440.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1855, allocations: 0.7238 MB / 441.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.1856, allocations: 13.19 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.1857, allocations: 23.42 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1857, allocations: 0 / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of Templates: time 0.004658/0.1903, allocations: 1.618 MB / 443.3 MB, free: 11.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: