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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001302/0.001302, allocations: 192.7 kB / 16.13 MB, free: 6.652 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.715/1.715, allocations: 205.1 MB / 222 MB, free: 4.746 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.3528/0.3528, allocations: 39.94 MB / 309.3 MB, free: 9.379 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.001479/0.001479, allocations: 75.89 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1643, allocations: 56.89 MB / 433.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003921/0.1683, allocations: 1.748 MB / 435.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1702, allocations: 0.7884 MB / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.1703, allocations: 0 / 436.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1707, allocations: 39.83 kB / 436.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1709, allocations: 43.83 kB / 436.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1711, allocations: 75.84 kB / 436.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1713, allocations: 95.69 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1715, allocations: 20.2 kB / 436.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.327e-05/0.1715, allocations: 31.8 kB / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1717, allocations: 35.78 kB / 436.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1717, allocations: 4 kB / 436.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1718, allocations: 39.97 kB / 436.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.1719, allocations: 23.86 kB / 436.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.1719, allocations: 27.75 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1722, allocations: 111.9 kB / 436.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.1722, allocations: 4 kB / 436.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.1722, allocations: 4 kB / 436.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1722, allocations: 0 / 436.9 MB, free: 1.004 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.0006241/0.1728, allocations: 411 kB / 437.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1729, allocations: 8.031 kB / 437.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.173, allocations: 12.83 kB / 437.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1732, allocations: 212 kB / 437.5 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1732, allocations: 4.359 kB / 437.5 MB, free: 292 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.1733, allocations: 8.125 kB / 437.5 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1734, allocations: 57.67 kB / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1735, allocations: 0 / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1735, allocations: 0 / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1735, allocations: 0 / 437.6 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.1736, allocations: 19.98 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.174, allocations: 288.8 kB / 437.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1742, allocations: 62.62 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.1743, allocations: 20.84 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.1743, allocations: 4 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.1746, allocations: 67.3 kB / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1746, allocations: 0 / 438 MB, free: 15.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006011/0.1752, allocations: 165.3 kB / 438.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1753, allocations: 59.41 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1755, allocations: 186.1 kB / 438.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1755, allocations: 29.7 kB / 438.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1757, allocations: 100.1 kB / 438.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.1757, allocations: 27.69 kB / 438.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1758, allocations: 25.66 kB / 438.6 MB, free: 15.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1759, allocations: 326.8 kB / 438.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.176, allocations: 23.98 kB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.176, allocations: 37.7 kB / 439 MB, free: 14.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1762, allocations: 57.89 kB / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1762, allocations: 0 / 439.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.1764, allocations: 101.5 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1764, allocations: 4 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1764, allocations: 0 / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1764, allocations: 8.031 kB / 439.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.1765, allocations: 15.98 kB / 439.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1765, allocations: 3.938 kB / 439.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.1766, allocations: 11.94 kB / 439.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.1766, allocations: 0 / 439.2 MB, free: 14.46 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.000112/0.1767, allocations: 125.8 kB / 439.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1768, allocations: 7.906 kB / 439.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.1768, allocations: 16.7 kB / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1768, allocations: 0 / 439.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1768, allocations: 8 kB / 439.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1769, allocations: 3.938 kB / 439.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1773, allocations: 391.2 kB / 439.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1773, allocations: 0 / 439.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.1773, allocations: 8.375 kB / 439.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1773, allocations: 0 / 439.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1774, allocations: 15.88 kB / 439.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1774, allocations: 4 kB / 439.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1774, allocations: 8.016 kB / 439.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1776, allocations: 196.2 kB / 440 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1776, allocations: 85.02 kB / 440.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1777, allocations: 7.938 kB / 440.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.1778, allocations: 8 kB / 440.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.1778, allocations: 15.95 kB / 440.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1778, allocations: 8 kB / 440.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.178, allocations: 148 kB / 440.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.178, allocations: 0 / 440.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1782, allocations: 16 kB / 440.3 MB, free: 13.3 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.001045/0.1793, allocations: 477.6 kB / 440.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1795, allocations: 59.89 kB / 440.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1795, allocations: 4 kB / 440.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.1796, allocations: 35.86 kB / 440.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1799, allocations: 27.92 kB / 440.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.1804, allocations: 245.3 kB / 441.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1807, allocations: 0.7004 MB / 441.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.1808, allocations: 12.89 kB / 441.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.1808, allocations: 19.42 kB / 441.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1808, allocations: 0 / 441.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of Templates: time 0.004688/0.1855, allocations: 1.634 MB / 443.5 MB, free: 10.07 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)