Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001342/0.001342, 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.699/1.699, allocations: 205.4 MB / 222.1 MB, free: 5.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.4023/0.4023, allocations: 40 MB / 310.4 MB, free: 9.699 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.0008943/0.0008943, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.177, allocations: 57.96 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002777/0.1799, allocations: 1.389 MB / 438.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1812, allocations: 0.7422 MB / 438.9 MB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1813, allocations: 0 / 438.9 MB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.1818, allocations: 79.77 kB / 439 MB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.1821, allocations: 71.86 kB / 439.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1825, allocations: 79.7 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1827, allocations: 95.73 kB / 439.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1829, allocations: 8.219 kB / 439.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.183, allocations: 51.77 kB / 439.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1832, allocations: 51.81 kB / 439.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.1832, allocations: 4 kB / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1833, allocations: 31.94 kB / 439.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.1834, allocations: 31.89 kB / 439.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.1835, allocations: 41.64 kB / 439.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1837, allocations: 88.05 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1838, allocations: 0 / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1838, allocations: 0 / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1838, allocations: 0 / 439.6 MB, free: 15.51 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.0008114/0.1846, allocations: 414.8 kB / 440 MB, free: 15.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1847, allocations: 12.03 kB / 440 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1847, allocations: 11.81 kB / 440 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.185, allocations: 202.9 kB / 440.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.185, allocations: 11.94 kB / 440.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.185, allocations: 4 kB / 440.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1852, allocations: 57.61 kB / 440.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1852, allocations: 0 / 440.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1853, allocations: 3.938 kB / 440.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1853, allocations: 3.953 kB / 440.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.1854, allocations: 19.98 kB / 440.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1858, allocations: 288.8 kB / 440.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1859, allocations: 66.61 kB / 440.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.186, allocations: 20.84 kB / 440.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.186, allocations: 0 / 440.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1863, allocations: 79.33 kB / 440.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1863, allocations: 4 kB / 440.7 MB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005638/0.1868, allocations: 169.2 kB / 440.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1869, allocations: 55.41 kB / 440.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1871, allocations: 214.7 kB / 441.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1872, allocations: 29.7 kB / 441.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.1872, allocations: 108 kB / 441.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1874, allocations: 27.64 kB / 441.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.1874, allocations: 0 / 441.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002598/0.1877, allocations: 330.8 kB / 441.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.1877, allocations: 15.98 kB / 441.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.1878, allocations: 41.64 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.1879, allocations: 24 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1879, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.1881, allocations: 101.5 kB / 441.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1881, allocations: 8.031 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1881, allocations: 4 kB / 441.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1882, allocations: 3.938 kB / 441.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1883, allocations: 12 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1883, allocations: 8.141 kB / 441.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.1884, allocations: 7.984 kB / 441.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1884, allocations: 4 kB / 441.9 MB, free: 12.96 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.0001395/0.1885, allocations: 125.8 kB / 442 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1885, allocations: 23.75 kB / 442 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1886, allocations: 17.41 kB / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1886, allocations: 192 / 442 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.1886, allocations: 4 kB / 442 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.1886, allocations: 7.922 kB / 442 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.1892, allocations: 399.3 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1892, allocations: 3.938 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.1893, allocations: 11.94 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1893, allocations: 0 / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1893, allocations: 8.031 kB / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1893, allocations: 0 / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1893, allocations: 0 / 442.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1895, allocations: 204.2 kB / 442.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1896, allocations: 92.95 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1896, allocations: 4 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1897, allocations: 8.375 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.1898, allocations: 7.984 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1898, allocations: 4 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.19, allocations: 172.3 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.19, allocations: 0 / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1902, allocations: 23.94 kB / 443 MB, free: 11.76 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.00119/0.1914, allocations: 461.2 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1916, allocations: 55.97 kB / 443.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1916, allocations: 0 / 443.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.1917, allocations: 35.92 kB / 443.5 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1921, allocations: 20.3 kB / 443.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.1927, allocations: 282.2 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.1932, allocations: 0.716 MB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.1932, allocations: 17.12 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.1933, allocations: 19.42 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1933, allocations: 0 / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005312/0.1986, allocations: 1.602 MB / 446.2 MB, free: 8.535 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) Environment - environmentSimulation: