Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001769, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002202/0.002202, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.85/1.85, allocations: 205.1 MB / 222 MB, free: 4.996 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.3887/0.3887, allocations: 39.93 MB / 309.3 MB, free: 9.227 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.001601/0.001601, allocations: 75.89 kB / 376.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1711, allocations: 56.88 MB / 433.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.004484/0.1756, allocations: 1.751 MB / 435.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.1773, allocations: 0.7924 MB / 436.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1775, allocations: 3.938 kB / 436.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.1779, allocations: 27.91 kB / 436.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1781, allocations: 51.77 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1785, allocations: 79.84 kB / 436.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1787, allocations: 91.75 kB / 436.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1788, allocations: 20.19 kB / 436.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.179, allocations: 39.73 kB / 436.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1791, allocations: 35.78 kB / 436.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1791, allocations: 0 / 436.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1793, allocations: 39.97 kB / 436.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.1794, allocations: 19.92 kB / 436.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.1795, allocations: 27.75 kB / 436.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1798, allocations: 119.9 kB / 436.9 MB, free: 1.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1798, allocations: 4 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1798, allocations: 0 / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1798, allocations: 0 / 436.9 MB, free: 1.066 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.0008547/0.1807, allocations: 410.9 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1807, allocations: 12.03 kB / 437.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.1808, allocations: 8.844 kB / 437.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1812, allocations: 208 kB / 437.5 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.1813, allocations: 8.359 kB / 437.5 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1813, allocations: 4.125 kB / 437.5 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1815, allocations: 57.67 kB / 437.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1816, allocations: 4 kB / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1816, allocations: 0 / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1816, allocations: 0 / 437.6 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.1817, allocations: 23.92 kB / 437.6 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.1823, allocations: 280.9 kB / 437.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1825, allocations: 58.69 kB / 438 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.1826, allocations: 20.84 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.1827, allocations: 3.938 kB / 438 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.183, allocations: 71.3 kB / 438.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.183, allocations: 0 / 438.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007647/0.1838, allocations: 173.3 kB / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1839, allocations: 51.41 kB / 438.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1841, allocations: 182.1 kB / 438.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1841, allocations: 33.7 kB / 438.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.1842, allocations: 100.1 kB / 438.6 MB, free: 15.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.1843, allocations: 27.69 kB / 438.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.1844, allocations: 21.72 kB / 438.6 MB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1845, allocations: 326.8 kB / 438.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.1846, allocations: 23.98 kB / 439 MB, free: 14.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.1847, allocations: 37.7 kB / 439 MB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1849, allocations: 61.83 kB / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1849, allocations: 384 / 439.1 MB, free: 14.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002492/0.1851, allocations: 97.47 kB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1852, allocations: 8 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1852, allocations: 4.031 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1852, allocations: 0 / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1853, allocations: 19.98 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1854, allocations: 4 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.1854, allocations: 7.938 kB / 439.2 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1855, allocations: 4 kB / 439.2 MB, free: 14.52 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.0001675/0.1856, allocations: 125.6 kB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.1857, allocations: 11.91 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.1858, allocations: 24.64 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1858, allocations: 4 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.1858, allocations: 0 / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1858, allocations: 7.875 kB / 439.4 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.1864, allocations: 387.3 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1864, allocations: 0 / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.1864, allocations: 11.94 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1864, allocations: 3.984 kB / 439.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1865, allocations: 11.94 kB / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1865, allocations: 8.016 kB / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1865, allocations: 0 / 439.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1867, allocations: 196.5 kB / 440 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.1868, allocations: 85.02 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1869, allocations: 7.938 kB / 440.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.1869, allocations: 8 kB / 440.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.187, allocations: 11.92 kB / 440.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.187, allocations: 4 kB / 440.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1872, allocations: 152 kB / 440.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1872, allocations: 0 / 440.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1875, allocations: 20 kB / 440.3 MB, free: 13.36 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.001112/0.1886, allocations: 472.9 kB / 440.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1888, allocations: 63.89 kB / 440.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1888, allocations: 0 / 440.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.1889, allocations: 27.98 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1893, allocations: 23.98 kB / 440.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.1898, allocations: 245.2 kB / 441.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1902, allocations: 0.7043 MB / 441.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.239e-05/0.1903, allocations: 21.19 kB / 441.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.1903, allocations: 19.42 kB / 441.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1903, allocations: 0 / 441.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005604/0.1959, allocations: 1.627 MB / 443.5 MB, free: 10.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1)