Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.674/1.674, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.3751/0.3751, allocations: 39.95 MB / 309.7 MB, free: 9.344 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.001577/0.001577, allocations: 70.56 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1679, allocations: 56.88 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003676/0.1716, allocations: 1.693 MB / 436.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1732, allocations: 0.821 MB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.1733, allocations: 4 kB / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.1737, allocations: 39.78 kB / 437.1 MB, free: 1.109 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.174, allocations: 59.69 kB / 437.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1744, allocations: 75.77 kB / 437.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1746, allocations: 99.69 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1747, allocations: 20.2 kB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.1748, allocations: 43.78 kB / 437.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1749, allocations: 31.84 kB / 437.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1749, allocations: 11.94 kB / 437.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1751, allocations: 67.89 kB / 437.5 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.1752, allocations: 12 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.1752, allocations: 31.8 kB / 437.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1755, allocations: 131.9 kB / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.1755, allocations: 0 / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1755, allocations: 0 / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1755, allocations: 0 / 437.6 MB, free: 0.5352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007031/0.1763, allocations: 415 kB / 438 MB, free: 84 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1763, allocations: 15.89 kB / 438.1 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.1764, allocations: 8.844 kB / 438.1 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1767, allocations: 207.6 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1767, allocations: 4.375 kB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.1767, allocations: 12.03 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1769, allocations: 71.39 kB / 438.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1769, allocations: 0 / 438.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1769, allocations: 0 / 438.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.177, allocations: 4 kB / 438.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.177, allocations: 35.91 kB / 438.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1775, allocations: 288.8 kB / 438.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1776, allocations: 62.48 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.1777, allocations: 16.98 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1778, allocations: 11.98 kB / 438.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.178, allocations: 75.31 kB / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.178, allocations: 0 / 438.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005981/0.1786, allocations: 181.2 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.1787, allocations: 77.11 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1788, allocations: 149.8 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1788, allocations: 29.7 kB / 439.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.1789, allocations: 96.14 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1789, allocations: 35.61 kB / 439.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.179, allocations: 21.72 kB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1791, allocations: 330.8 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.1792, allocations: 19.98 kB / 439.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.1793, allocations: 46.44 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1794, allocations: 65.73 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1794, allocations: 4 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001798/0.1796, allocations: 105.5 kB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1796, allocations: 4 kB / 440 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1796, allocations: 0 / 440 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1796, allocations: 0 / 440 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1797, allocations: 19.94 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1798, allocations: 192 / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.1798, allocations: 19.95 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1798, allocations: 7.938 kB / 440 MB, free: 13.89 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 (11): * Single equations (assignments): 11 * 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 9.823e-05/0.1799, allocations: 113.8 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.18, allocations: 11.91 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.18, allocations: 16.7 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.18, allocations: 0 / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1801, allocations: 4 kB / 440.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.1801, allocations: 3.938 kB / 440.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.1805, allocations: 407.2 kB / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1806, allocations: 0 / 440.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1806, allocations: 8 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1806, allocations: 3.938 kB / 440.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1806, allocations: 7.938 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1806, allocations: 0 / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1806, allocations: 3.984 kB / 440.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1809, allocations: 212.3 kB / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.1809, allocations: 85.02 kB / 440.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.181, allocations: 3.938 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1811, allocations: 4 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1811, allocations: 11.98 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1811, allocations: 0 / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.751e-05/0.1812, allocations: 122.5 kB / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1812, allocations: 0 / 441 MB, free: 12.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1815, allocations: 35.98 kB / 441.1 MB, free: 12.75 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 (9): * Single equations (assignments): 7 * 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.001202/0.1827, allocations: 0.5018 MB / 441.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1829, allocations: 63.91 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.183, allocations: 0 / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.983e-05/0.183, allocations: 35.92 kB / 441.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1834, allocations: 31.78 kB / 441.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1839, allocations: 202.9 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1842, allocations: 0.7002 MB / 442.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.1843, allocations: 21.02 kB / 442.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.1843, allocations: 27.56 kB / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1843, allocations: 0 / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005342/0.1897, allocations: 2.041 MB / 444.7 MB, free: 9.102 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)