Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001144/0.001144, allocations: 168.7 kB / 15.95 MB, free: 204 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.865/1.865, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.4094/0.4094, allocations: 40 MB / 310.4 MB, free: 9.648 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.000568/0.0005682, allocations: 19.94 kB / 378.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1644, allocations: 57.97 MB / 436.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003145/0.1676, allocations: 1.382 MB / 438.2 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1693, allocations: 0.7422 MB / 438.9 MB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1695, allocations: 3.938 kB / 438.9 MB, free: 108 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.17, allocations: 35.89 kB / 439 MB, free: 72 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1704, allocations: 47.83 kB / 439 MB, free: 24 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004794/0.1709, allocations: 71.83 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.1712, allocations: 83.7 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1713, allocations: 12.2 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1715, allocations: 43.78 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1716, allocations: 27.86 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1716, allocations: 4 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1718, allocations: 39.97 kB / 439.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.1719, allocations: 15.92 kB / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.172, allocations: 41.64 kB / 439.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1722, allocations: 84.09 kB / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1722, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1722, allocations: 0 / 439.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1722, allocations: 11.88 kB / 439.5 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.0008126/0.1731, allocations: 406.8 kB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1731, allocations: 8.031 kB / 439.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.1732, allocations: 15.89 kB / 439.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.1735, allocations: 195.6 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1735, allocations: 7.938 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.1736, allocations: 4 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1738, allocations: 49.67 kB / 440.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1738, allocations: 3.906 kB / 440.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.1738, allocations: 8 kB / 440.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1738, allocations: 7.953 kB / 440.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.1739, allocations: 15.98 kB / 440.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.1745, allocations: 285 kB / 440.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1747, allocations: 62.61 kB / 440.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.827e-05/0.1747, allocations: 20.86 kB / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1748, allocations: 0 / 440.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.175, allocations: 71.33 kB / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1751, allocations: 0 / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006201/0.1757, allocations: 173.1 kB / 440.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.1758, allocations: 55.41 kB / 440.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.176, allocations: 195.3 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.176, allocations: 33.64 kB / 441 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.1761, allocations: 104.1 kB / 441.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1762, allocations: 19.7 kB / 441.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.1762, allocations: 8 kB / 441.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1763, allocations: 318.8 kB / 441.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.1764, allocations: 23.94 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.1765, allocations: 33.7 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/0.1766, allocations: 36.05 kB / 441.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1766, allocations: 0 / 441.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.1768, allocations: 109.4 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1768, allocations: 4 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1768, allocations: 0 / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1769, allocations: 4 kB / 441.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.177, allocations: 15.98 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.177, allocations: 0 / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.1771, allocations: 4.188 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.1771, allocations: 8.031 kB / 441.7 MB, free: 13.11 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.0001336/0.1772, allocations: 133.7 kB / 441.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1773, allocations: 11.86 kB / 441.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.1773, allocations: 21.39 kB / 441.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1774, allocations: 3.938 kB / 441.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.1774, allocations: 0 / 441.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1774, allocations: 0 / 441.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.1779, allocations: 395.3 kB / 442.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1779, allocations: 3.938 kB / 442.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.178, allocations: 8 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.178, allocations: 0 / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.178, allocations: 7.984 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.178, allocations: 0 / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.178, allocations: 384 / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1783, allocations: 204.3 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.1784, allocations: 88.97 kB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.1784, allocations: 4 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.1785, allocations: 11.98 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.1786, allocations: 11.92 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.1786, allocations: 4 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1788, allocations: 156.8 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1788, allocations: 0 / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.1791, allocations: 35.89 kB / 442.8 MB, free: 11.92 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.001165/0.1803, allocations: 453.1 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1805, allocations: 63.91 kB / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1805, allocations: 4 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.1806, allocations: 24.14 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.181, allocations: 31.91 kB / 443.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.1816, allocations: 254.4 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.182, allocations: 0.7043 MB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.688e-05/0.182, allocations: 8.891 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1821, allocations: 23.42 kB / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1821, allocations: 4 kB / 444.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Templates: time 0.005438/0.1876, allocations: 1.587 MB / 445.9 MB, free: 8.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) Environment - environmentSimulation: