Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008602, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008845/0.0008849, allocations: 168.7 kB / 15.95 MB, free: 204 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.897/1.897, 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.2+maint.om/package.mo): time 0.458/0.458, allocations: 40.01 MB / 310.4 MB, free: 9.965 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.0008665/0.0008671, allocations: 16 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1706, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002438/0.1731, allocations: 1.386 MB / 438.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1746, allocations: 0.7421 MB / 438.9 MB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1748, allocations: 7.938 kB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1752, allocations: 75.81 kB / 439 MB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1755, allocations: 63.8 kB / 439.1 MB, free: 280 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.1758, allocations: 79.83 kB / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1761, allocations: 91.69 kB / 439.2 MB, free: 108 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1762, allocations: 12.2 kB / 439.3 MB, free: 96 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1763, allocations: 47.77 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1764, allocations: 47.83 kB / 439.4 MB, free: 0 / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1765, allocations: 0 / 439.4 MB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.1766, allocations: 36.03 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1767, allocations: 23.86 kB / 439.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.1768, allocations: 45.64 kB / 439.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1769, allocations: 84.09 kB / 439.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.177, allocations: 4 kB / 439.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.177, allocations: 0 / 439.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.177, allocations: 3.938 kB / 439.5 MB, free: 15.8 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.0007502/0.1777, allocations: 402.8 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1778, allocations: 12.03 kB / 439.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.1779, allocations: 11.81 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1781, allocations: 211.5 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1782, allocations: 8 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1782, allocations: 4 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1784, allocations: 53.67 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1784, allocations: 0 / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1784, allocations: 0 / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1784, allocations: 3.953 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.314e-05/0.1785, allocations: 23.92 kB / 440.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.179, allocations: 285 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1791, allocations: 58.61 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.1792, allocations: 20.86 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1793, allocations: 0 / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.1795, allocations: 71.33 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1795, allocations: 4 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006084/0.1801, allocations: 173.1 kB / 440.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1802, allocations: 55.41 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.1804, allocations: 218.2 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1805, allocations: 29.64 kB / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.1805, allocations: 108.1 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.1806, allocations: 23.66 kB / 441.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.1806, allocations: 0 / 441.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1808, allocations: 326.8 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.1809, allocations: 23.98 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.1809, allocations: 33.7 kB / 441.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.181, allocations: 27.98 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.181, allocations: 0 / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002242/0.1813, allocations: 109.5 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1813, allocations: 8.031 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1813, allocations: 0 / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1813, allocations: 4 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1814, allocations: 15.98 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1815, allocations: 0 / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.1815, allocations: 7.906 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1816, allocations: 4.375 kB / 441.8 MB, free: 13.29 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 ($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.0001306/0.1817, allocations: 133.4 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.1817, allocations: 15.86 kB / 442 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.1818, allocations: 17.41 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1818, allocations: 4 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1818, allocations: 4 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1818, allocations: 3.984 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.1823, allocations: 395.3 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1823, allocations: 0 / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.1824, allocations: 8 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1824, allocations: 192 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.1824, allocations: 12.02 kB / 442.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1824, allocations: 7.938 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1824, allocations: 3.984 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1827, allocations: 204.1 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.1828, allocations: 92.97 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1828, allocations: 0 / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.1829, allocations: 11.98 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.1829, allocations: 4 kB / 442.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.183, allocations: 8 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.1833, allocations: 164.2 kB / 442.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1833, allocations: 0 / 442.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.1836, allocations: 24 kB / 442.9 MB, free: 12.09 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.001411/0.185, allocations: 453.3 kB / 443.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1852, allocations: 63.91 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1853, allocations: 0 / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.1853, allocations: 27.97 kB / 443.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1858, allocations: 32.02 kB / 443.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.1866, allocations: 258.3 kB / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.187, allocations: 0.7122 MB / 444.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.823e-05/0.1871, allocations: 16.86 kB / 444.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1871, allocations: 15.44 kB / 444.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1871, allocations: 0 / 444.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Templates: time 0.005876/0.193, allocations: 1.603 MB / 446.1 MB, free: 8.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: