Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, 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.001861/0.001862, allocations: 195.3 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.744/1.744, 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.2+maint.om/package.mo): time 0.3933/0.3933, allocations: 39.93 MB / 309.7 MB, free: 9.293 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.001945/0.001945, allocations: 70.41 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1632, allocations: 56.87 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.005057/0.1683, allocations: 1.689 MB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1703, allocations: 0.8016 MB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1704, allocations: 0 / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.171, allocations: 87.69 kB / 437.1 MB, free: 1.082 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.0003685/0.1714, allocations: 71.73 kB / 437.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1718, allocations: 91.62 kB / 437.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.172, allocations: 111.7 kB / 437.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1721, allocations: 12.22 kB / 437.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1723, allocations: 47.78 kB / 437.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1724, allocations: 55.81 kB / 437.5 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1725, allocations: 4 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.1726, allocations: 47.97 kB / 437.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.855e-05/0.1727, allocations: 23.92 kB / 437.5 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.1728, allocations: 31.75 kB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1732, allocations: 123.8 kB / 437.7 MB, free: 484 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1732, allocations: 3.938 kB / 437.7 MB, free: 480 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1732, allocations: 0 / 437.7 MB, free: 480 kB / 366.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.1732, allocations: 0 / 437.7 MB, free: 480 kB / 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.0008181/0.1741, allocations: 414.9 kB / 438.1 MB, free: 16 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1741, allocations: 11.89 kB / 438.1 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.1742, allocations: 16.92 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.1745, allocations: 212.1 kB / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.1745, allocations: 384 / 438.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1746, allocations: 12.12 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1748, allocations: 57.61 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1748, allocations: 0 / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1748, allocations: 3.984 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1748, allocations: 3.984 kB / 438.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1749, allocations: 16 kB / 438.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.1754, allocations: 296.8 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1756, allocations: 58.62 kB / 438.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.1757, allocations: 28.78 kB / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1757, allocations: 0 / 438.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.176, allocations: 67.39 kB / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.176, allocations: 0 / 438.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006386/0.1767, allocations: 185.1 kB / 439 MB, free: 14.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1768, allocations: 51.41 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.177, allocations: 215 kB / 439.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.177, allocations: 25.7 kB / 439.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.1771, allocations: 108.1 kB / 439.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1771, allocations: 31.62 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.1772, allocations: 17.72 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1773, allocations: 334.8 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.1774, allocations: 19.98 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.1775, allocations: 41.64 kB / 439.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1776, allocations: 57.7 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1776, allocations: 0 / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002036/0.1778, allocations: 101.4 kB / 440 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1779, allocations: 8.031 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1779, allocations: 0 / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1779, allocations: 0 / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.178, allocations: 20.17 kB / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.178, allocations: 0 / 440 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.1781, allocations: 11.88 kB / 440.1 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1781, allocations: 4 kB / 440.1 MB, free: 13.85 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.0001218/0.1782, allocations: 133.8 kB / 440.2 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1783, allocations: 7.906 kB / 440.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.1783, allocations: 25.39 kB / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1783, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.1783, allocations: 0 / 440.2 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.1784, allocations: 3.938 kB / 440.2 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1788, allocations: 399.4 kB / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1789, allocations: 0 / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.1789, allocations: 8.375 kB / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1789, allocations: 0 / 440.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.179, allocations: 15.95 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.179, allocations: 4 kB / 440.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.179, allocations: 3.938 kB / 440.7 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1792, allocations: 200.3 kB / 440.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.1793, allocations: 92.86 kB / 440.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1793, allocations: 7.938 kB / 440.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.1794, allocations: 11.98 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.1794, allocations: 4 kB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1795, allocations: 4 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1796, allocations: 155.2 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1796, allocations: 0 / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1799, allocations: 27.98 kB / 441.1 MB, free: 12.65 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.1811, allocations: 461.4 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1814, allocations: 63.89 kB / 441.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1814, allocations: 3.938 kB / 441.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1815, allocations: 27.94 kB / 441.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1818, allocations: 35.22 kB / 441.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.1824, allocations: 243 kB / 442 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.1828, allocations: 0.708 MB / 442.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.243e-05/0.1829, allocations: 25.16 kB / 442.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.183, allocations: 15.44 kB / 442.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.183, allocations: 0 / 442.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Templates: time 0.005158/0.1881, allocations: 1.704 MB / 444.4 MB, free: 9.359 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1)