Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 108 kB / 15.61 MB, free: 152 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.002322/0.002322, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.728/1.728, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3751/0.3751, allocations: 37.99 MB / 307.8 MB, free: 10.06 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.1. 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.00218/0.002181, allocations: 76.73 kB / 375.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1684, allocations: 56.46 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003567/0.172, allocations: 1.669 MB / 433.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1735, allocations: 0.8091 MB / 434.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.1736, allocations: 0 / 434.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.1739, allocations: 43.77 kB / 434.2 MB, free: 4.086 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.0002479/0.1742, allocations: 43.77 kB / 434.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1745, allocations: 87.7 kB / 434.4 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1747, allocations: 95.69 kB / 434.5 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1748, allocations: 16.2 kB / 434.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.1749, allocations: 39.8 kB / 434.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.175, allocations: 27.8 kB / 434.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1751, allocations: 4 kB / 434.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1752, allocations: 47.97 kB / 434.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.1752, allocations: 15.92 kB / 434.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.1753, allocations: 31.81 kB / 434.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1755, allocations: 111.9 kB / 434.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1755, allocations: 0 / 434.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1755, allocations: 0 / 434.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1755, allocations: 0 / 434.7 MB, free: 3.574 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.0006299/0.1762, allocations: 403 kB / 435.1 MB, free: 3.133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1762, allocations: 15.89 kB / 435.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.1763, allocations: 12.78 kB / 435.2 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1765, allocations: 192.8 kB / 435.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.1766, allocations: 11.94 kB / 435.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.1766, allocations: 11.89 kB / 435.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1768, allocations: 53.67 kB / 435.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1768, allocations: 0 / 435.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1768, allocations: 4 kB / 435.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1768, allocations: 0 / 435.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.1769, allocations: 19.98 kB / 435.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1773, allocations: 284.8 kB / 435.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1775, allocations: 58.67 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1776, allocations: 24.78 kB / 435.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1776, allocations: 4 kB / 435.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1779, allocations: 67.33 kB / 435.9 MB, free: 2.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.966e-06/0.1779, allocations: 4 kB / 435.9 MB, free: 2.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006539/0.1785, allocations: 173.2 kB / 436.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1786, allocations: 55.34 kB / 436.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1788, allocations: 158.4 kB / 436.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1788, allocations: 29.7 kB / 436.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.1789, allocations: 96.05 kB / 436.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.1789, allocations: 31.62 kB / 436.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.179, allocations: 25.72 kB / 436.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1791, allocations: 326.8 kB / 436.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.1792, allocations: 19.98 kB / 436.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.1793, allocations: 37.7 kB / 436.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1794, allocations: 61.64 kB / 436.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1794, allocations: 0 / 436.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001754/0.1796, allocations: 97.61 kB / 437 MB, free: 1.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1796, allocations: 12 kB / 437 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1796, allocations: 0 / 437 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1796, allocations: 3.938 kB / 437 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.1797, allocations: 19.92 kB / 437 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1797, allocations: 4 kB / 437 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.1798, allocations: 0 / 437 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1798, allocations: 4 kB / 437 MB, free: 1.059 MB / 366.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.0001158/0.1799, allocations: 125.8 kB / 437.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.18, allocations: 11.91 kB / 437.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.18, allocations: 16.81 kB / 437.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.18, allocations: 0 / 437.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.18, allocations: 0 / 437.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.18, allocations: 0 / 437.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.1805, allocations: 391.2 kB / 437.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1805, allocations: 384 / 437.6 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.1806, allocations: 11.98 kB / 437.6 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1806, allocations: 4.031 kB / 437.6 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1806, allocations: 8 kB / 437.6 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1806, allocations: 3.938 kB / 437.6 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1806, allocations: 192 / 437.6 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1808, allocations: 204.1 kB / 437.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.1809, allocations: 88.95 kB / 437.9 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1809, allocations: 4 kB / 437.9 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.181, allocations: 15.92 kB / 437.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1811, allocations: 4 kB / 437.9 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1811, allocations: 0 / 437.9 MB, free: 84 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1812, allocations: 127.9 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1812, allocations: 0 / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1815, allocations: 23.98 kB / 438 MB, free: 15.93 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.001102/0.1826, allocations: 469.8 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1828, allocations: 71.83 kB / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1828, allocations: 0 / 438.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.1829, allocations: 27.98 kB / 438.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1833, allocations: 35.97 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.1837, allocations: 202.8 kB / 438.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.184, allocations: 0.7041 MB / 439.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.1841, allocations: 13.19 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1841, allocations: 23.36 kB / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1842, allocations: 0 / 439.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of Templates: time 0.004709/0.1889, allocations: 1.673 MB / 441.2 MB, free: 12.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)