Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, 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.00188/0.00188, allocations: 191.3 kB / 16.13 MB, free: 6.656 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.835/1.835, allocations: 205.1 MB / 222 MB, free: 4.992 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.3539/0.3539, allocations: 39.94 MB / 309.3 MB, free: 9.234 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.002818/0.002818, allocations: 69.92 kB / 376.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1622, allocations: 56.88 MB / 433.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003263/0.1656, allocations: 1.755 MB / 435.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1669, allocations: 0.7884 MB / 436.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.167, allocations: 8 kB / 436.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.1675, allocations: 27.89 kB / 436.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1678, allocations: 47.83 kB / 436.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1681, allocations: 75.84 kB / 436.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1683, allocations: 103.6 kB / 436.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1685, allocations: 8.219 kB / 436.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.1686, allocations: 43.78 kB / 436.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.1687, allocations: 35.84 kB / 436.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1687, allocations: 0 / 436.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1688, allocations: 35.98 kB / 436.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.1689, allocations: 15.92 kB / 436.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.169, allocations: 39.67 kB / 436.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1692, allocations: 115.9 kB / 436.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1692, allocations: 0 / 436.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1692, allocations: 0 / 436.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1693, allocations: 0 / 436.9 MB, free: 1.094 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.0007523/0.17, allocations: 415 kB / 437.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.1701, allocations: 12.03 kB / 437.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.1702, allocations: 8.844 kB / 437.3 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1705, allocations: 200.1 kB / 437.5 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1705, allocations: 12.36 kB / 437.5 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1705, allocations: 4.125 kB / 437.5 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1707, allocations: 61.61 kB / 437.6 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1708, allocations: 4 kB / 437.6 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1708, allocations: 0 / 437.6 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1708, allocations: 0 / 437.6 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/0.1709, allocations: 19.98 kB / 437.6 MB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.1714, allocations: 285 kB / 437.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1716, allocations: 62.56 kB / 438 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.1717, allocations: 20.84 kB / 438 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1717, allocations: 4 kB / 438 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.172, allocations: 75.28 kB / 438.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1721, allocations: 0 / 438.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.1726, allocations: 165.3 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1727, allocations: 51.41 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1728, allocations: 186.1 kB / 438.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1729, allocations: 29.7 kB / 438.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.1729, allocations: 104.1 kB / 438.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.173, allocations: 27.61 kB / 438.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.173, allocations: 21.72 kB / 438.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1732, allocations: 326.8 kB / 438.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.1732, allocations: 23.98 kB / 439 MB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.1733, allocations: 45.58 kB / 439 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.1734, allocations: 57.7 kB / 439.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1734, allocations: 0 / 439.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001707/0.1736, allocations: 97.53 kB / 439.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.1736, allocations: 8 kB / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1737, allocations: 0 / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1737, allocations: 0 / 439.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.1738, allocations: 15.98 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1738, allocations: 4 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.1738, allocations: 7.969 kB / 439.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1738, allocations: 4 kB / 439.2 MB, free: 14.55 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.0001015/0.174, allocations: 129.8 kB / 439.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.174, allocations: 7.906 kB / 439.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.174, allocations: 16.72 kB / 439.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.174, allocations: 3.984 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1741, allocations: 0 / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1741, allocations: 4.312 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1745, allocations: 399.2 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1745, allocations: 4 kB / 439.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.1745, allocations: 8 kB / 439.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1746, allocations: 0 / 439.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1746, allocations: 3.938 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1746, allocations: 7.938 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1746, allocations: 3.984 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1749, allocations: 204.3 kB / 440 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.1749, allocations: 85.02 kB / 440.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.175, allocations: 3.938 kB / 440.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.1751, allocations: 8 kB / 440.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.1751, allocations: 7.984 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.1751, allocations: 4 kB / 440.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1753, allocations: 148 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1753, allocations: 0 / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.1756, allocations: 24 kB / 440.3 MB, free: 13.39 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.001186/0.1768, allocations: 465.5 kB / 440.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.177, allocations: 71.89 kB / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.177, allocations: 0 / 440.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.1771, allocations: 31.92 kB / 440.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1775, allocations: 31.86 kB / 440.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.178, allocations: 241.3 kB / 441.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.1783, allocations: 0.7043 MB / 441.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.1784, allocations: 13.2 kB / 441.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1784, allocations: 19.42 kB / 441.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1784, allocations: 4 kB / 441.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of Templates: time 0.00446/0.1829, allocations: 1.638 MB / 443.5 MB, free: 10.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)