Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008954, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001015/0.001016, allocations: 172.7 kB / 15.95 MB, free: 208 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.81/1.81, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.355/0.355, allocations: 39.99 MB / 310.4 MB, free: 9.93 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.000555/0.0005551, allocations: 12 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1771, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003356/0.1805, allocations: 1.385 MB / 438.2 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1823, allocations: 0.7422 MB / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1825, allocations: 0 / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.1829, allocations: 39.83 kB / 439 MB, free: 404 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.1833, allocations: 47.83 kB / 439 MB, free: 356 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1836, allocations: 75.83 kB / 439.1 MB, free: 280 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1838, allocations: 83.7 kB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.184, allocations: 12.22 kB / 439.2 MB, free: 184 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.1842, allocations: 43.77 kB / 439.2 MB, free: 140 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.1843, allocations: 23.86 kB / 439.2 MB, free: 116 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1844, allocations: 4 kB / 439.3 MB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1845, allocations: 35.98 kB / 439.3 MB, free: 76 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.1846, allocations: 27.91 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.1847, allocations: 37.64 kB / 439.4 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1849, allocations: 80.11 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.1849, allocations: 4 kB / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1849, allocations: 0 / 439.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1849, allocations: 0 / 439.4 MB, free: 15.92 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.0008762/0.1858, allocations: 406.8 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1859, allocations: 8.031 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.1859, allocations: 11.91 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.1863, allocations: 211.4 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1863, allocations: 4 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.1863, allocations: 0 / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1865, allocations: 53.67 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1866, allocations: 11.91 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1866, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1866, allocations: 7.938 kB / 440.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/0.1867, allocations: 19.98 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005516/0.1873, allocations: 288.9 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1875, allocations: 54.67 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.1876, allocations: 20.86 kB / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.1876, allocations: 0 / 440.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.1879, allocations: 79.28 kB / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1879, allocations: 0 / 440.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006579/0.1885, allocations: 173.2 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1886, allocations: 55.34 kB / 440.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1888, allocations: 191.3 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1889, allocations: 29.7 kB / 441 MB, free: 14.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.189, allocations: 104.1 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.1891, allocations: 19.7 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.1891, allocations: 12 kB / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000283/0.1894, allocations: 322.8 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.1895, allocations: 19.98 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.1896, allocations: 33.72 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.772e-05/0.1896, allocations: 23.98 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1896, allocations: 0 / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.1899, allocations: 105.4 kB / 441.7 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1899, allocations: 4 kB / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1899, allocations: 0 / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1899, allocations: 4 kB / 441.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.19, allocations: 23.92 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1901, allocations: 0 / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.1901, allocations: 4 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1901, allocations: 4 kB / 441.7 MB, free: 13.44 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.0001402/0.1903, allocations: 133.7 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1903, allocations: 19.86 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.1904, allocations: 17.58 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1904, allocations: 0 / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1904, allocations: 3.938 kB / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.1904, allocations: 0 / 441.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1909, allocations: 399.2 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1909, allocations: 0 / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.191, allocations: 8 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.191, allocations: 4.031 kB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.191, allocations: 8.359 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.191, allocations: 0 / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.1911, allocations: 4 kB / 442.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.1914, allocations: 208.4 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/0.1915, allocations: 88.97 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1915, allocations: 3.984 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.1916, allocations: 12 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1917, allocations: 4 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1917, allocations: 7.984 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1919, allocations: 152.9 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1919, allocations: 0 / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1922, allocations: 31.91 kB / 442.8 MB, free: 12.24 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.001165/0.1933, allocations: 457.2 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1936, allocations: 63.91 kB / 443.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1936, allocations: 0 / 443.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1937, allocations: 23.94 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1941, allocations: 39.97 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.1947, allocations: 246.3 kB / 443.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1952, allocations: 0.7082 MB / 444.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.138e-05/0.1952, allocations: 17.17 kB / 444.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.1953, allocations: 23.42 kB / 444.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1953, allocations: 0 / 444.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of Templates: time 0.005783/0.2011, allocations: 1.583 MB / 445.9 MB, free: 9.066 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) Environment - environmentSimulation: