Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, 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.002194/0.002194, allocations: 191.5 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.721/1.721, allocations: 205.1 MB / 222 MB, free: 4.758 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.3977/0.3977, allocations: 39.94 MB / 309.3 MB, free: 9.34 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.001472/0.001472, allocations: 71.91 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1569, allocations: 56.89 MB / 433.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00508/0.1621, allocations: 1.948 MB / 435.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.164, allocations: 0.8311 MB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.1642, allocations: 4 kB / 436.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1648, allocations: 39.77 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1651, allocations: 47.83 kB / 436.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.1655, allocations: 91.83 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1658, allocations: 131.5 kB / 436.9 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.166, allocations: 29.75 kB / 436.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1661, allocations: 51.72 kB / 437 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1663, allocations: 51.7 kB / 437 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1664, allocations: 4 kB / 437 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1665, allocations: 43.98 kB / 437.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.1666, allocations: 23.86 kB / 437.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1667, allocations: 55.64 kB / 437.2 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.1671, allocations: 135.5 kB / 437.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1671, allocations: 0 / 437.3 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1671, allocations: 4 kB / 437.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1671, allocations: 4 kB / 437.3 MB, free: 0.6016 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008213/0.168, allocations: 480.5 kB / 437.8 MB, free: 80 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.168, allocations: 8.031 kB / 437.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.1681, allocations: 20.75 kB / 437.8 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.1685, allocations: 228 kB / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1685, allocations: 384 / 438 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.1686, allocations: 16.12 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1688, allocations: 108 kB / 438.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1688, allocations: 3.938 kB / 438.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1689, allocations: 4 kB / 438.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1689, allocations: 4 kB / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.169, allocations: 43.97 kB / 438.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.1697, allocations: 0.5125 MB / 438.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1701, allocations: 86.67 kB / 438.8 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.1702, allocations: 44.7 kB / 438.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1702, allocations: 8 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.1706, allocations: 75.38 kB / 438.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1706, allocations: 3.938 kB / 438.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004355/0.171, allocations: 145.5 kB / 439.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.1711, allocations: 55.34 kB / 439.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1713, allocations: 187.5 kB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.1713, allocations: 29.7 kB / 439.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.902e-05/0.1714, allocations: 123.9 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1715, allocations: 27.69 kB / 439.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.1715, allocations: 29.7 kB / 439.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003496/0.1719, allocations: 322.8 kB / 439.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.172, allocations: 31.98 kB / 439.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1721, allocations: 68.2 kB / 439.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1723, allocations: 92.22 kB / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1723, allocations: 4 kB / 440 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002885/0.1726, allocations: 141.7 kB / 440.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1726, allocations: 4 kB / 440.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1726, allocations: 0 / 440.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.1727, allocations: 4 kB / 440.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1728, allocations: 31.98 kB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1728, allocations: 4 kB / 440.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.1729, allocations: 15.83 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1729, allocations: 4 kB / 440.2 MB, free: 13.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000124/0.1731, allocations: 121.8 kB / 440.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1731, allocations: 15.81 kB / 440.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.1732, allocations: 21.39 kB / 440.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1732, allocations: 3.938 kB / 440.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1732, allocations: 8 kB / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1732, allocations: 0 / 440.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1734, allocations: 205.6 kB / 440.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1734, allocations: 0 / 440.6 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.1735, allocations: 15.92 kB / 440.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1735, allocations: 0 / 440.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.1736, allocations: 8 kB / 440.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.1736, allocations: 3.938 kB / 440.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1736, allocations: 0 / 440.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.174, allocations: 188.8 kB / 440.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.1742, allocations: 88.98 kB / 440.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1743, allocations: 7.938 kB / 440.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1743, allocations: 7.938 kB / 440.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.1744, allocations: 7.984 kB / 440.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1744, allocations: 4 kB / 440.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.1746, allocations: 137.2 kB / 441 MB, free: 12.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1747, allocations: 4.062 kB / 441 MB, free: 12.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1749, allocations: 24.12 kB / 441.1 MB, free: 12.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001211/0.1761, allocations: 422.4 kB / 441.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.1764, allocations: 79.84 kB / 441.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1764, allocations: 0 / 441.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1766, allocations: 36.23 kB / 441.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1769, allocations: 44.22 kB / 441.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.1776, allocations: 313.4 kB / 441.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.1783, allocations: 0.7123 MB / 442.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.418e-05/0.1783, allocations: 17.41 kB / 442.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1784, allocations: 19.44 kB / 442.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1784, allocations: 0 / 442.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.005231/0.1836, allocations: 1.778 MB / 444.5 MB, free: 9.027 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)