Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 108 kB / 15.6 MB, free: 128 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.002709/0.002709, allocations: 195.6 kB / 16.53 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.784/1.784, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3951/0.3951, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.001725/0.001725, allocations: 67.91 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1638, allocations: 56.89 MB / 434.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00452/0.1683, allocations: 1.677 MB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.17, allocations: 0.8093 MB / 437 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.1701, allocations: 4 kB / 437 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1704, allocations: 43.81 kB / 437 MB, free: 1.098 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.0002507/0.1707, allocations: 59.7 kB / 437.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.1709, allocations: 79.75 kB / 437.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1712, allocations: 95.7 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1713, allocations: 12.22 kB / 437.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1714, allocations: 47.77 kB / 437.3 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1716, allocations: 23.86 kB / 437.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1716, allocations: 4 kB / 437.4 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1717, allocations: 47.92 kB / 437.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.1718, allocations: 27.91 kB / 437.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.1719, allocations: 39.69 kB / 437.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.1722, allocations: 115.9 kB / 437.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1722, allocations: 0 / 437.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1723, allocations: 0 / 437.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1723, allocations: 0 / 437.6 MB, free: 0.5547 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.0008682/0.1732, allocations: 422.8 kB / 438 MB, free: 96 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.1732, allocations: 11.89 kB / 438 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.1733, allocations: 20.77 kB / 438 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1737, allocations: 219.9 kB / 438.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1737, allocations: 4.375 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.1738, allocations: 12.11 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.174, allocations: 57.61 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.174, allocations: 3.984 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.174, allocations: 0 / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.174, allocations: 0 / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.1741, allocations: 19.98 kB / 438.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.1747, allocations: 300.8 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1749, allocations: 54.67 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.1749, allocations: 16.86 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.175, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1752, allocations: 75.33 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1752, allocations: 0 / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006043/0.1758, allocations: 173.2 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1759, allocations: 55.34 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1761, allocations: 219.5 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1761, allocations: 29.7 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.1762, allocations: 108.1 kB / 439.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1763, allocations: 23.64 kB / 439.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1763, allocations: 33.7 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1765, allocations: 330.8 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.1765, allocations: 23.98 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.116e-05/0.1766, allocations: 33.7 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1767, allocations: 57.66 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1767, allocations: 4 kB / 439.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002614/0.177, allocations: 105.5 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.177, allocations: 4 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1771, allocations: 4 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.1771, allocations: 0 / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1772, allocations: 19.92 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1772, allocations: 0 / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.1773, allocations: 7.938 kB / 440 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1773, allocations: 11.94 kB / 440 MB, free: 13.91 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.0001133/0.1774, allocations: 129.9 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1774, allocations: 8.281 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.1775, allocations: 21.41 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1775, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1775, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1775, allocations: 12.11 kB / 440.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.178, allocations: 395.2 kB / 440.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.178, allocations: 7.938 kB / 440.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.178, allocations: 8.031 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.178, allocations: 4 kB / 440.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.178, allocations: 3.938 kB / 440.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.178, allocations: 3.984 kB / 440.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.178, allocations: 7.938 kB / 440.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.1783, allocations: 200.3 kB / 440.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1783, allocations: 88.92 kB / 440.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.1784, allocations: 7.938 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.1784, allocations: 4 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.1785, allocations: 7.984 kB / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1785, allocations: 4 kB / 440.9 MB, free: 12.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1787, allocations: 175.5 kB / 441.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 0 / 441.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1789, allocations: 24 kB / 441.1 MB, free: 12.7 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.001194/0.1801, allocations: 466.8 kB / 441.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1803, allocations: 59.95 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1804, allocations: 4 kB / 441.6 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.1804, allocations: 35.98 kB / 441.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1808, allocations: 27.42 kB / 441.7 MB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.1813, allocations: 259 kB / 441.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1816, allocations: 0.7119 MB / 442.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.1817, allocations: 20.8 kB / 442.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1817, allocations: 19.38 kB / 442.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1817, allocations: 0 / 442.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Templates: time 0.005165/0.1869, allocations: 1.712 MB / 444.4 MB, free: 9.383 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)