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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002127/0.002127, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.718/1.718, allocations: 205.1 MB / 222 MB, free: 4.773 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.3718/0.3718, allocations: 39.93 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.001346/0.001346, allocations: 67.91 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 56.88 MB / 433.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003684/0.171, allocations: 1.744 MB / 435.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1724, allocations: 0.7962 MB / 436.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.1726, allocations: 0 / 436.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.173, allocations: 43.88 kB / 436.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1732, allocations: 55.75 kB / 436.5 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1734, allocations: 83.78 kB / 436.5 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1736, allocations: 83.77 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1738, allocations: 16.2 kB / 436.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.1739, allocations: 47.73 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.174, allocations: 27.84 kB / 436.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.174, allocations: 4 kB / 436.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1741, allocations: 35.98 kB / 436.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.1742, allocations: 35.77 kB / 436.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1743, allocations: 35.75 kB / 436.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1745, allocations: 115.9 kB / 436.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1745, allocations: 0 / 436.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1745, allocations: 0 / 436.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1746, allocations: 0 / 436.9 MB, free: 0.9883 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.0007835/0.1753, allocations: 426.8 kB / 437.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1754, allocations: 12.03 kB / 437.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.1755, allocations: 8.844 kB / 437.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.1758, allocations: 220 kB / 437.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1758, allocations: 8.312 kB / 437.6 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.1758, allocations: 8.109 kB / 437.6 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.176, allocations: 53.67 kB / 437.6 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.176, allocations: 0 / 437.6 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.1761, allocations: 7.984 kB / 437.7 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1761, allocations: 8 kB / 437.7 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1762, allocations: 12 kB / 437.7 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1767, allocations: 292.8 kB / 438 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1769, allocations: 58.62 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.177, allocations: 24.84 kB / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.177, allocations: 0 / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.1773, allocations: 67.39 kB / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1773, allocations: 0 / 438.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006385/0.1779, allocations: 177.1 kB / 438.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.178, allocations: 55.41 kB / 438.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1782, allocations: 222.7 kB / 438.6 MB, free: 15.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1782, allocations: 25.7 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.1783, allocations: 108.1 kB / 438.7 MB, free: 15.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.1784, allocations: 23.66 kB / 438.7 MB, free: 15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1784, allocations: 25.7 kB / 438.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1786, allocations: 326.8 kB / 439.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.1786, allocations: 27.92 kB / 439.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.1787, allocations: 41.64 kB / 439.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1788, allocations: 65.7 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1789, allocations: 0 / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.179, allocations: 109.4 kB / 439.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1791, allocations: 4 kB / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1791, allocations: 0 / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1791, allocations: 0 / 439.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1792, allocations: 16 kB / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1792, allocations: 4.031 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.1793, allocations: 7.922 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1793, allocations: 4 kB / 439.3 MB, free: 14.35 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.0001282/0.1795, allocations: 141.5 kB / 439.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1795, allocations: 11.91 kB / 439.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.1795, allocations: 13.41 kB / 439.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1795, allocations: 0 / 439.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1796, allocations: 4 kB / 439.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1796, allocations: 3.938 kB / 439.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.18, allocations: 407.6 kB / 439.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.18, allocations: 0 / 439.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1801, allocations: 12 kB / 439.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1801, allocations: 0 / 439.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1801, allocations: 7.938 kB / 439.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1801, allocations: 3.984 kB / 439.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1801, allocations: 0 / 439.9 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1804, allocations: 204.3 kB / 440.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.1805, allocations: 88.92 kB / 440.2 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1805, allocations: 7.938 kB / 440.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.1806, allocations: 4 kB / 440.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1806, allocations: 11.98 kB / 440.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1806, allocations: 4 kB / 440.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1808, allocations: 172.3 kB / 440.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1808, allocations: 4 kB / 440.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1811, allocations: 28 kB / 440.4 MB, free: 13.14 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.001138/0.1822, allocations: 457.7 kB / 440.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1824, allocations: 75.88 kB / 441 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1824, allocations: 0 / 441 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.1825, allocations: 27.92 kB / 441 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1829, allocations: 27.98 kB / 441 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.1835, allocations: 284.7 kB / 441.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.1839, allocations: 0.7082 MB / 442 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.184, allocations: 12.89 kB / 442 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.184, allocations: 19.42 kB / 442 MB, free: 11.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.184, allocations: 0 / 442 MB, free: 11.52 MB / 382.1 MB Notification: Performance of Templates: time 0.00497/0.189, allocations: 1.647 MB / 443.7 MB, free: 9.875 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)