Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001775/0.001775, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.568/1.568, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.3968/0.3968, allocations: 39.94 MB / 309.4 MB, free: 8.988 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.001535/0.001535, allocations: 67.91 kB / 377.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1677, allocations: 56.88 MB / 434 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004502/0.1723, allocations: 1.751 MB / 435.8 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1739, allocations: 0.7923 MB / 436.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.174, allocations: 0 / 436.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.1744, allocations: 35.89 kB / 436.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1747, allocations: 51.77 kB / 436.6 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.175, allocations: 75.91 kB / 436.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1752, allocations: 103.6 kB / 436.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1753, allocations: 8.219 kB / 436.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.1754, allocations: 39.8 kB / 436.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1755, allocations: 35.83 kB / 436.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1755, allocations: 4 kB / 436.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1757, allocations: 43.98 kB / 436.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.1757, allocations: 19.91 kB / 437 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.1758, allocations: 39.69 kB / 437 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.176, allocations: 111.9 kB / 437.1 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.176, allocations: 4 kB / 437.1 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.176, allocations: 0 / 437.1 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.176, allocations: 0 / 437.1 MB, free: 0.6094 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.0005952/0.1766, allocations: 410.9 kB / 437.5 MB, free: 164 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1767, allocations: 11.89 kB / 437.5 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1767, allocations: 12.84 kB / 437.5 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.177, allocations: 204.1 kB / 437.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1771, allocations: 4.359 kB / 437.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.1771, allocations: 8.125 kB / 437.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1773, allocations: 57.61 kB / 437.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1773, allocations: 0 / 437.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1773, allocations: 0 / 437.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1773, allocations: 7.938 kB / 437.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.1774, allocations: 19.92 kB / 437.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1779, allocations: 292.9 kB / 438.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.178, allocations: 54.62 kB / 438.2 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.1781, allocations: 28.83 kB / 438.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1781, allocations: 0 / 438.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1783, allocations: 71.3 kB / 438.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1784, allocations: 0 / 438.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006578/0.179, allocations: 165.5 kB / 438.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.1791, allocations: 55.41 kB / 438.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1793, allocations: 186.1 kB / 438.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.1793, allocations: 29.7 kB / 438.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.1794, allocations: 104.1 kB / 438.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.1795, allocations: 23.7 kB / 438.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.1796, allocations: 21.72 kB / 438.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1798, allocations: 326.8 kB / 439.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.1798, allocations: 24.17 kB / 439.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.1799, allocations: 41.64 kB / 439.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.18, allocations: 61.7 kB / 439.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1801, allocations: 4 kB / 439.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1803, allocations: 97.52 kB / 439.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1803, allocations: 7.594 kB / 439.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1803, allocations: 4 kB / 439.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.1803, allocations: 0 / 439.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1805, allocations: 15.98 kB / 439.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1805, allocations: 0 / 439.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.1805, allocations: 7.938 kB / 439.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1806, allocations: 8 kB / 439.4 MB, free: 14.06 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.0001269/0.1807, allocations: 129.8 kB / 439.5 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.1807, allocations: 7.906 kB / 439.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.1808, allocations: 16.7 kB / 439.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1808, allocations: 4 kB / 439.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1808, allocations: 0 / 439.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1808, allocations: 3.938 kB / 439.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.1813, allocations: 399.4 kB / 440 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1813, allocations: 4 kB / 440 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.1813, allocations: 4.188 kB / 440 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1813, allocations: 7.938 kB / 440 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1814, allocations: 7.875 kB / 440 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1814, allocations: 0 / 440 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1814, allocations: 7.984 kB / 440 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1816, allocations: 204.3 kB / 440.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.1817, allocations: 81.02 kB / 440.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.1817, allocations: 11.94 kB / 440.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.1818, allocations: 0 / 440.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1818, allocations: 7.984 kB / 440.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1819, allocations: 4 kB / 440.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.182, allocations: 144 kB / 440.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.182, allocations: 0 / 440.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1822, allocations: 20 kB / 440.5 MB, free: 12.91 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.001029/0.1833, allocations: 474.8 kB / 440.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1835, allocations: 67.91 kB / 441 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1835, allocations: 8 kB / 441 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.1836, allocations: 27.92 kB / 441 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1839, allocations: 31.84 kB / 441.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.1844, allocations: 247.1 kB / 441.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1847, allocations: 0.7002 MB / 442 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.1848, allocations: 17.19 kB / 442 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1848, allocations: 19.42 kB / 442 MB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1848, allocations: 4 kB / 442 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Templates: time 0.005016/0.1898, allocations: 1.673 MB / 443.7 MB, free: 9.633 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)