Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001098, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01001/0.01001, allocations: 174.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.4639/0.4639, allocations: 40 MB / 310.7 MB, free: 9.902 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.0008682/0.0008682, allocations: 16.56 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1705, allocations: 57.96 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002804/0.1733, allocations: 1.413 MB / 438.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1751, allocations: 0.7729 MB / 439.6 MB, free: 4 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1752, allocations: 0 / 439.6 MB, free: 4 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.1756, allocations: 87.75 kB / 439.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.1759, allocations: 59.8 kB / 439.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1762, allocations: 79.78 kB / 439.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1765, allocations: 95.75 kB / 439.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1767, allocations: 20.16 kB / 439.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1768, allocations: 47.77 kB / 440 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.177, allocations: 59.75 kB / 440 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.177, allocations: 0 / 440 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1772, allocations: 43.92 kB / 440.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.1773, allocations: 23.92 kB / 440.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.1774, allocations: 65.42 kB / 440.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1777, allocations: 103.9 kB / 440.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1777, allocations: 4 kB / 440.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1777, allocations: 0 / 440.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1778, allocations: 0 / 440.3 MB, free: 15.32 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.000844/0.1786, allocations: 411 kB / 440.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.1787, allocations: 8.031 kB / 440.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.1788, allocations: 12.75 kB / 440.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.1792, allocations: 216.7 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.1792, allocations: 4.375 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.1792, allocations: 8.125 kB / 440.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1795, allocations: 53.67 kB / 441 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1795, allocations: 0 / 441 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1795, allocations: 4 kB / 441 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.1796, allocations: 4 kB / 441 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.1797, allocations: 15.98 kB / 441 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.1803, allocations: 288.8 kB / 441.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1805, allocations: 62.67 kB / 441.3 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.1806, allocations: 20.84 kB / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.1806, allocations: 0 / 441.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.1809, allocations: 71.39 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.1809, allocations: 3.938 kB / 441.4 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008121/0.1818, allocations: 185.1 kB / 441.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.1819, allocations: 51.41 kB / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1822, allocations: 218.2 kB / 441.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1822, allocations: 29.7 kB / 441.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.1823, allocations: 104.1 kB / 442 MB, free: 13.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.1824, allocations: 19.66 kB / 442 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.1824, allocations: 21.7 kB / 442 MB, free: 13.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1827, allocations: 330.8 kB / 442.4 MB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.651e-05/0.1828, allocations: 20 kB / 442.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-05/0.1829, allocations: 37.64 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.183, allocations: 57.7 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.183, allocations: 0 / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002583/0.1833, allocations: 109.4 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.1833, allocations: 4 kB / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1833, allocations: 0 / 442.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1834, allocations: 8.031 kB / 442.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1835, allocations: 15.94 kB / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1835, allocations: 0 / 442.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.1836, allocations: 15.92 kB / 442.6 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.1836, allocations: 4 kB / 442.6 MB, free: 12.72 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.0001676/0.1838, allocations: 125.8 kB / 442.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.1838, allocations: 15.89 kB / 442.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.1839, allocations: 13.41 kB / 442.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1839, allocations: 11.98 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.184, allocations: 0 / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.184, allocations: 3.938 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.1846, allocations: 399.2 kB / 443.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1846, allocations: 0 / 443.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.1846, allocations: 8 kB / 443.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1846, allocations: 0 / 443.2 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.1846, allocations: 7.938 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1847, allocations: 4.031 kB / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1847, allocations: 0 / 443.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1849, allocations: 204.2 kB / 443.4 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.185, allocations: 92.91 kB / 443.5 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.1851, allocations: 7.938 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1851, allocations: 4 kB / 443.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.1852, allocations: 11.98 kB / 443.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1852, allocations: 4.375 kB / 443.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.1854, allocations: 156.2 kB / 443.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1854, allocations: 0 / 443.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.1858, allocations: 23.98 kB / 443.7 MB, free: 11.54 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.001198/0.187, allocations: 485 kB / 444.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1872, allocations: 47.98 kB / 444.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1872, allocations: 0 / 444.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.1873, allocations: 35.92 kB / 444.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.1879, allocations: 31.91 kB / 444.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.1885, allocations: 258.3 kB / 444.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.189, allocations: 0.716 MB / 445.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.642e-05/0.1891, allocations: 12.89 kB / 445.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.1891, allocations: 15.42 kB / 445.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1891, allocations: 0 / 445.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of Templates: time 0.005881/0.195, allocations: 1.624 MB / 446.9 MB, free: 8.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) Environment - environmentSimulation: