Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005995/0.005995, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002321/0.00232, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2165/0.2165, allocations: 38 MB / 307.9 MB, free: 5.996 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.1. 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.001656/0.001656, allocations: 70.25 kB / 433 MB, free: 14.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1687, allocations: 56.47 MB / 489.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004573/0.1733, allocations: 1.672 MB / 491.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1754, allocations: 0.8012 MB / 492 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1755, allocations: 4 kB / 492 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.176, allocations: 39.77 kB / 492 MB, free: 3.406 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.0003346/0.1764, allocations: 51.75 kB / 492.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.1767, allocations: 91.7 kB / 492.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.177, allocations: 91.69 kB / 492.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1771, allocations: 16.22 kB / 492.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1773, allocations: 43.83 kB / 492.3 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.1774, allocations: 27.8 kB / 492.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1774, allocations: 4 kB / 492.3 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1776, allocations: 47.98 kB / 492.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.797e-05/0.1777, allocations: 19.91 kB / 492.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.1777, allocations: 31.75 kB / 492.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.1781, allocations: 107.7 kB / 492.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1781, allocations: 4 kB / 492.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1781, allocations: 0 / 492.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.1781, allocations: 0 / 492.6 MB, free: 2.879 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.0007743/0.1789, allocations: 411 kB / 493 MB, free: 2.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.179, allocations: 11.89 kB / 493 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.179, allocations: 12.84 kB / 493 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.1795, allocations: 208 kB / 493.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1795, allocations: 8.375 kB / 493.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.1796, allocations: 8.031 kB / 493.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.1798, allocations: 65.61 kB / 493.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1798, allocations: 0 / 493.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1798, allocations: 3.938 kB / 493.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1799, allocations: 7.984 kB / 493.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.18, allocations: 15.98 kB / 493.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.1805, allocations: 292.9 kB / 493.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.1807, allocations: 58.61 kB / 493.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.1808, allocations: 20.86 kB / 493.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1808, allocations: 0 / 493.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.181, allocations: 67.39 kB / 493.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.181, allocations: 0 / 493.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000803/0.1819, allocations: 173.1 kB / 493.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1819, allocations: 55.41 kB / 493.9 MB, free: 1.305 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.1822, allocations: 182.2 kB / 494.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1822, allocations: 25.7 kB / 494.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.1823, allocations: 108.1 kB / 494.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.1824, allocations: 27.66 kB / 494.3 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.1825, allocations: 25.64 kB / 494.3 MB, free: 0.918 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1826, allocations: 326.8 kB / 494.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.1827, allocations: 20 kB / 494.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.1828, allocations: 37.64 kB / 494.7 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.183, allocations: 69.75 kB / 494.7 MB, free: 464 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.183, allocations: 0 / 494.7 MB, free: 464 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002738/0.1833, allocations: 97.53 kB / 494.8 MB, free: 360 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1833, allocations: 4 kB / 494.8 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1834, allocations: 4 kB / 494.8 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.1834, allocations: 3.984 kB / 494.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1835, allocations: 12 kB / 494.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1835, allocations: 0 / 494.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.1836, allocations: 11.84 kB / 494.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1836, allocations: 4 kB / 494.9 MB, free: 320 kB / 366.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.0001427/0.1838, allocations: 137.7 kB / 495 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1838, allocations: 7.906 kB / 495 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.1839, allocations: 16.7 kB / 495 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1839, allocations: 4 kB / 495 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1839, allocations: 384 / 495 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1839, allocations: 3.938 kB / 495 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.1846, allocations: 387.3 kB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1846, allocations: 8.219 kB / 495.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.1847, allocations: 8 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1847, allocations: 7.938 kB / 495.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1847, allocations: 7.922 kB / 495.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1847, allocations: 0 / 495.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1847, allocations: 0 / 495.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.185, allocations: 208.1 kB / 495.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.1851, allocations: 85.02 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.1852, allocations: 7.938 kB / 495.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1853, allocations: 4 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.1854, allocations: 7.984 kB / 495.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1854, allocations: 4 kB / 495.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.1856, allocations: 148 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1856, allocations: 0 / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.186, allocations: 24 kB / 495.9 MB, free: 15.15 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.001595/0.1876, allocations: 459.3 kB / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1879, allocations: 59.91 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1879, allocations: 64 / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1881, allocations: 40.06 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.1886, allocations: 23.84 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.1893, allocations: 227.2 kB / 496.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1896, allocations: 0.7041 MB / 497.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.248e-05/0.1897, allocations: 12.95 kB / 497.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.1897, allocations: 19.42 kB / 497.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1898, allocations: 3.938 kB / 497.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.006089/0.1959, allocations: 1.704 MB / 499.2 MB, free: 11.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)