Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.668/1.668, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.4625/0.4625, allocations: 39.94 MB / 309.7 MB, free: 9.312 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.002665/0.002666, allocations: 70.92 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1754, allocations: 56.89 MB / 434.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003831/0.1793, allocations: 1.642 MB / 436.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1808, allocations: 0.786 MB / 436.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.181, allocations: 0 / 436.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.1816, allocations: 63.73 kB / 437 MB, free: 1.18 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.1819, allocations: 63.72 kB / 437.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1822, allocations: 71.78 kB / 437.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1824, allocations: 103.7 kB / 437.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.1825, allocations: 11.98 kB / 437.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.1826, allocations: 39.8 kB / 437.3 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1827, allocations: 47.77 kB / 437.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.1827, allocations: 4 kB / 437.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.1828, allocations: 35.98 kB / 437.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.1829, allocations: 15.92 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.183, allocations: 31.8 kB / 437.4 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1832, allocations: 99.92 kB / 437.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1832, allocations: 0 / 437.5 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1832, allocations: 4 kB / 437.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1832, allocations: 0 / 437.5 MB, free: 0.6602 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007474/0.184, allocations: 406.9 kB / 437.9 MB, free: 220 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.184, allocations: 11.89 kB / 437.9 MB, free: 208 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.1841, allocations: 8.844 kB / 437.9 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1844, allocations: 208.1 kB / 438.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1845, allocations: 4.359 kB / 438.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.1845, allocations: 4.125 kB / 438.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1846, allocations: 57.67 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1847, allocations: 0 / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1847, allocations: 0 / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1847, allocations: 0 / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.1848, allocations: 19.92 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.185, allocations: 177.7 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1852, allocations: 50.56 kB / 438.4 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1853, allocations: 28.78 kB / 438.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.1853, allocations: 4 kB / 438.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.1856, allocations: 63.39 kB / 438.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.605e-06/0.1856, allocations: 0 / 438.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003366/0.1859, allocations: 93.52 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.186, allocations: 55.41 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1862, allocations: 186.2 kB / 438.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1863, allocations: 29.7 kB / 438.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1863, allocations: 100.1 kB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1864, allocations: 11.81 kB / 439 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.1864, allocations: 17.72 kB / 439 MB, free: 14.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1866, allocations: 326.8 kB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.1866, allocations: 15.98 kB / 439.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.1867, allocations: 29.72 kB / 439.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.711e-05/0.1868, allocations: 49.91 kB / 439.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1868, allocations: 0 / 439.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.1869, allocations: 85.45 kB / 439.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.187, allocations: 8 kB / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.187, allocations: 0 / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.187, allocations: 0 / 439.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.1871, allocations: 12.03 kB / 439.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1871, allocations: 4 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1872, allocations: 3.906 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.1872, allocations: 4.156 kB / 439.5 MB, free: 14.39 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 (7): * Single equations (assignments): 7 * 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.0001042/0.1873, allocations: 133.1 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.1873, allocations: 7.906 kB / 439.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1874, allocations: 16.3 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1874, allocations: 0 / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1874, allocations: 0 / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1874, allocations: 4 kB / 439.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1876, allocations: 189.5 kB / 439.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1876, allocations: 0 / 439.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.1876, allocations: 7.938 kB / 439.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1876, allocations: 0 / 439.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.1876, allocations: 4 kB / 439.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.1876, allocations: 15.91 kB / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1876, allocations: 0 / 439.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1878, allocations: 109 kB / 440 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.1879, allocations: 85 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1879, allocations: 4 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.188, allocations: 8.109 kB / 440.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.188, allocations: 8 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.188, allocations: 3.984 kB / 440.1 MB, free: 13.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1882, allocations: 140.1 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1882, allocations: 4 kB / 440.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1884, allocations: 23.91 kB / 440.3 MB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009736/0.1894, allocations: 409.8 kB / 440.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.1896, allocations: 43.98 kB / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1896, allocations: 0 / 440.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.1896, allocations: 19.94 kB / 440.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.1899, allocations: 35.28 kB / 440.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004336/0.1904, allocations: 198.1 kB / 441 MB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1907, allocations: 0.7041 MB / 441.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.236e-05/0.1907, allocations: 8.5 kB / 441.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.1908, allocations: 27.36 kB / 441.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1908, allocations: 0 / 441.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.004613/0.1954, allocations: 1.466 MB / 443.2 MB, free: 10.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)