Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, 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.001309/0.001309, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.7/1.7, allocations: 205.1 MB / 222 MB, free: 4.754 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.3614/0.3614, allocations: 39.94 MB / 309.3 MB, free: 9.641 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.001944/0.001944, allocations: 70.41 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1675, allocations: 56.89 MB / 433.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00378/0.1713, allocations: 1.833 MB / 435.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1732, allocations: 0.8703 MB / 436.5 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1734, allocations: 7.938 kB / 436.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.174, allocations: 295.4 kB / 436.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.1744, allocations: 191.6 kB / 437 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.1749, allocations: 123.8 kB / 437.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.1753, allocations: 231.3 kB / 437.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.405e-05/0.1754, allocations: 13.55 kB / 437.4 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.1757, allocations: 123.5 kB / 437.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.1759, allocations: 184 kB / 437.7 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.176, allocations: 4 kB / 437.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.1761, allocations: 35.98 kB / 437.7 MB, free: 492 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1763, allocations: 132.5 kB / 437.8 MB, free: 360 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1765, allocations: 142.8 kB / 438 MB, free: 216 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.177, allocations: 355 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.177, allocations: 0 / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.177, allocations: 0 / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1771, allocations: 0 / 438.3 MB, free: 15.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001077/0.1781, allocations: 0.719 MB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1782, allocations: 8.031 kB / 439 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1783, allocations: 44.38 kB / 439.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.1788, allocations: 443.9 kB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1789, allocations: 384 / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.1789, allocations: 12.12 kB / 439.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1791, allocations: 91.28 kB / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1791, allocations: 0 / 439.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1791, allocations: 4 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1791, allocations: 4 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1793, allocations: 31.95 kB / 439.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1796, allocations: 370.2 kB / 440 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.1799, allocations: 113.2 kB / 440.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.18, allocations: 49.62 kB / 440.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.18, allocations: 0 / 440.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.1803, allocations: 109 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.1803, allocations: 0 / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004925/0.1808, allocations: 193 kB / 440.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.1809, allocations: 81.11 kB / 440.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/0.1819, allocations: 1.011 MB / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1819, allocations: 25.7 kB / 441.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1821, allocations: 232 kB / 441.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.1821, allocations: 31.64 kB / 441.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.1822, allocations: 29.7 kB / 441.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1823, allocations: 366.8 kB / 442.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.1824, allocations: 27.98 kB / 442.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.1825, allocations: 55.42 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1827, allocations: 95.34 kB / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1827, allocations: 0 / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002676/0.183, allocations: 165.5 kB / 442.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.183, allocations: 4 kB / 442.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.183, allocations: 4 kB / 442.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.183, allocations: 4 kB / 442.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1832, allocations: 31.98 kB / 442.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1832, allocations: 0 / 442.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.1833, allocations: 15.89 kB / 442.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1833, allocations: 4 kB / 442.6 MB, free: 11.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000195/0.1835, allocations: 229.5 kB / 442.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.1836, allocations: 55.33 kB / 442.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.1836, allocations: 51.86 kB / 443 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1837, allocations: 7.984 kB / 443 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1837, allocations: 4 kB / 443 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1837, allocations: 0 / 443 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1839, allocations: 341.3 kB / 443.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.184, allocations: 0 / 443.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.184, allocations: 8 kB / 443.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.184, allocations: 0 / 443.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.184, allocations: 7.984 kB / 443.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.184, allocations: 0 / 443.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.184, allocations: 0 / 443.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.1844, allocations: 205.3 kB / 443.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1845, allocations: 136.4 kB / 443.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.1845, allocations: 4 kB / 443.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.1846, allocations: 7.984 kB / 443.7 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.1847, allocations: 11.98 kB / 443.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1847, allocations: 4 kB / 443.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007258/0.1854, allocations: 0.7448 MB / 444.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1854, allocations: 4 kB / 444.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1857, allocations: 43.94 kB / 444.5 MB, free: 9.312 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009521/0.1867, allocations: 422.2 kB / 444.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1869, allocations: 83.89 kB / 445 MB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1869, allocations: 0 / 445 MB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1871, allocations: 43.91 kB / 445 MB, free: 8.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.1875, allocations: 78.12 kB / 445.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1887, allocations: 0.927 MB / 446 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1892, allocations: 0.8352 MB / 446.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.1893, allocations: 59.44 kB / 446.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1894, allocations: 27.42 kB / 446.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1894, allocations: 0 / 446.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of Templates: time 0.007331/0.1967, allocations: 3.515 MB / 450.5 MB, free: 3.312 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)