Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, 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.001454/0.001454, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.792/1.792, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.4101/0.4101, allocations: 39.94 MB / 309.7 MB, free: 9.262 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.00216/0.00216, allocations: 75.88 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1647, allocations: 56.88 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003993/0.1687, allocations: 1.689 MB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1702, allocations: 0.8016 MB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.1703, allocations: 4 kB / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1706, allocations: 35.83 kB / 437 MB, free: 1.113 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.0002626/0.1709, allocations: 51.69 kB / 437.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1712, allocations: 83.77 kB / 437.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.1714, allocations: 95.69 kB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1715, allocations: 16.22 kB / 437.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.1716, allocations: 35.8 kB / 437.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.1717, allocations: 35.84 kB / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1717, allocations: 0 / 437.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1718, allocations: 43.98 kB / 437.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1719, allocations: 23.86 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.172, allocations: 35.73 kB / 437.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.1722, allocations: 111.9 kB / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1722, allocations: 0 / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1722, allocations: 0 / 437.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1722, allocations: 4 kB / 437.6 MB, free: 0.5859 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.0005446/0.1728, allocations: 407 kB / 438 MB, free: 144 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1728, allocations: 15.83 kB / 438 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1729, allocations: 16.84 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1731, allocations: 208 kB / 438.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1731, allocations: 8.375 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1732, allocations: 4.125 kB / 438.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1733, allocations: 53.67 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1733, allocations: 4 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1734, allocations: 7.984 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1734, allocations: 0 / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.1734, allocations: 12 kB / 438.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1738, allocations: 292.8 kB / 438.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.174, allocations: 62.62 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.1741, allocations: 20.84 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1741, allocations: 0 / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.1743, allocations: 67.3 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1743, allocations: 4 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005658/0.1749, allocations: 177.2 kB / 438.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.175, allocations: 55.41 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1751, allocations: 182.2 kB / 439.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1752, allocations: 33.69 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.1752, allocations: 104.1 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1753, allocations: 23.64 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.1753, allocations: 21.72 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1754, allocations: 330.8 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.1755, allocations: 23.98 kB / 439.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.1756, allocations: 37.7 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1757, allocations: 53.72 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1757, allocations: 3.984 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.1759, allocations: 97.53 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1759, allocations: 8 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1759, allocations: 0 / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1759, allocations: 4.031 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.643e-05/0.176, allocations: 15.98 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1761, allocations: 7.938 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.1761, allocations: 4.312 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.1761, allocations: 4 kB / 439.9 MB, free: 14.02 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.000105/0.1762, allocations: 126 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1763, allocations: 7.906 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.1763, allocations: 20.66 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1763, allocations: 4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1763, allocations: 4 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1763, allocations: 3.938 kB / 440 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1768, allocations: 395.2 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1768, allocations: 4 kB / 440.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.1768, allocations: 8 kB / 440.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1768, allocations: 0 / 440.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1769, allocations: 7.875 kB / 440.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1769, allocations: 0 / 440.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1769, allocations: 8.031 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1771, allocations: 204.2 kB / 440.7 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1772, allocations: 85 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1772, allocations: 7.938 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1773, allocations: 4 kB / 440.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.1773, allocations: 7.984 kB / 440.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1774, allocations: 8 kB / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1775, allocations: 140.1 kB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1775, allocations: 0 / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1777, allocations: 31.98 kB / 440.9 MB, free: 12.86 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.001067/0.1788, allocations: 467.1 kB / 441.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.179, allocations: 59.91 kB / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.179, allocations: 0 / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.049e-05/0.1791, allocations: 31.88 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1794, allocations: 43.77 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.1799, allocations: 223.2 kB / 441.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.1802, allocations: 0.7002 MB / 442.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.1803, allocations: 20.88 kB / 442.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.1803, allocations: 15.44 kB / 442.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1804, allocations: 0 / 442.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of Templates: time 0.004987/0.1853, allocations: 1.692 MB / 444.2 MB, free: 9.594 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)