Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009775, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001221/0.001221, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.4313/0.4313, allocations: 39.99 MB / 310.4 MB, free: 9.695 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.000632/0.0006322, allocations: 16 kB / 378.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1636, allocations: 57.96 MB / 436.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002959/0.1667, allocations: 1.382 MB / 438.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1682, allocations: 0.7382 MB / 438.9 MB, free: 92 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.1683, allocations: 4 kB / 438.9 MB, free: 88 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1687, allocations: 39.89 kB / 439 MB, free: 48 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1689, allocations: 51.81 kB / 439 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1692, allocations: 67.91 kB / 439.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1694, allocations: 79.7 kB / 439.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1695, allocations: 16.2 kB / 439.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.1696, allocations: 35.8 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.1697, allocations: 31.84 kB / 439.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1697, allocations: 4 kB / 439.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1698, allocations: 35.98 kB / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.1699, allocations: 19.92 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.17, allocations: 37.64 kB / 439.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1701, allocations: 80.09 kB / 439.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1701, allocations: 0 / 439.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1702, allocations: 0 / 439.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1702, allocations: 0 / 439.4 MB, free: 15.59 MB / 382.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.0007194/0.1709, allocations: 410.7 kB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.171, allocations: 12.03 kB / 439.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.171, allocations: 11.84 kB / 439.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.1714, allocations: 206.9 kB / 440 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.1714, allocations: 0 / 440 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1715, allocations: 4 kB / 440.1 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.1717, allocations: 53.67 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1717, allocations: 0 / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1718, allocations: 3.938 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1718, allocations: 3.953 kB / 440.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1719, allocations: 23.98 kB / 440.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.1725, allocations: 280.9 kB / 440.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1727, allocations: 62.66 kB / 440.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.929e-05/0.1728, allocations: 16.86 kB / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.1728, allocations: 0 / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.1732, allocations: 87.19 kB / 440.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1732, allocations: 0 / 440.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000773/0.1739, allocations: 161.3 kB / 440.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.174, allocations: 55.41 kB / 440.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1743, allocations: 186.1 kB / 441 MB, free: 13.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.1744, allocations: 29.7 kB / 441 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1745, allocations: 108.1 kB / 441.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1745, allocations: 23.7 kB / 441.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.1745, allocations: 4 kB / 441.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.1747, allocations: 318.8 kB / 441.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.1748, allocations: 23.98 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.1749, allocations: 33.7 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.164e-05/0.175, allocations: 20 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.175, allocations: 8 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002415/0.1753, allocations: 105.5 kB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.1753, allocations: 4 kB / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.1753, allocations: 0 / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1753, allocations: 4 kB / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1755, allocations: 15.94 kB / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1755, allocations: 0 / 441.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.1756, allocations: 7.984 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1756, allocations: 0 / 441.7 MB, free: 13.12 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.1758, allocations: 137.6 kB / 441.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.1758, allocations: 11.86 kB / 441.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.1759, allocations: 16.7 kB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1759, allocations: 4 kB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1759, allocations: 0 / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1759, allocations: 0 / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.1766, allocations: 395.2 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1766, allocations: 4.219 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1766, allocations: 11.98 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1766, allocations: 3.938 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1767, allocations: 4 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1767, allocations: 240 / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1767, allocations: 0 / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.177, allocations: 204.2 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1771, allocations: 100.9 kB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.1771, allocations: 4 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.1772, allocations: 4 kB / 442.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.1773, allocations: 7.984 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1773, allocations: 4 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1775, allocations: 140.1 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1775, allocations: 0 / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1778, allocations: 27.98 kB / 442.7 MB, free: 11.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.1792, allocations: 473.2 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1794, allocations: 59.89 kB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1795, allocations: 64 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.1796, allocations: 35.94 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.18, allocations: 23.97 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.1806, allocations: 234.4 kB / 443.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.181, allocations: 0.7043 MB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.1811, allocations: 17.17 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1811, allocations: 15.44 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1811, allocations: 0 / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Templates: time 0.005591/0.1867, allocations: 1.591 MB / 445.9 MB, free: 8.793 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) Environment - environmentSimulation: