Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, 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.001735/0.001736, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.667/1.667, 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.3724/0.3724, allocations: 37.99 MB / 307.8 MB, free: 9.996 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.001489/0.001489, allocations: 76.11 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1632, allocations: 56.46 MB / 431.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00381/0.167, allocations: 1.677 MB / 433.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1685, allocations: 0.813 MB / 434.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.1686, allocations: 0 / 434.2 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.169, allocations: 39.77 kB / 434.2 MB, free: 4.059 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.0002476/0.1693, allocations: 47.75 kB / 434.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1695, allocations: 87.77 kB / 434.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1697, allocations: 91.7 kB / 434.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1698, allocations: 16.2 kB / 434.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.17, allocations: 43.78 kB / 434.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.1701, allocations: 31.8 kB / 434.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1701, allocations: 4 kB / 434.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1702, allocations: 43.97 kB / 434.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.1703, allocations: 23.92 kB / 434.6 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.1703, allocations: 27.81 kB / 434.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1706, allocations: 111.9 kB / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1706, allocations: 0 / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1706, allocations: 0 / 434.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1706, allocations: 0 / 434.8 MB, free: 3.539 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.000703/0.1713, allocations: 414.9 kB / 435.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1714, allocations: 15.89 kB / 435.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.1714, allocations: 12.75 kB / 435.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.1717, allocations: 208.1 kB / 435.4 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1718, allocations: 8.375 kB / 435.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1718, allocations: 4.125 kB / 435.4 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.172, allocations: 53.67 kB / 435.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.172, allocations: 4 kB / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1721, allocations: 0 / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1721, allocations: 0 / 435.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1722, allocations: 27.92 kB / 435.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1727, allocations: 284.9 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1729, allocations: 58.67 kB / 435.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.173, allocations: 20.84 kB / 435.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.173, allocations: 0 / 435.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.1733, allocations: 79.31 kB / 435.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1733, allocations: 0 / 435.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006667/0.174, allocations: 165.2 kB / 436.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.174, allocations: 51.41 kB / 436.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1743, allocations: 182.2 kB / 436.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1743, allocations: 37.64 kB / 436.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.1744, allocations: 108 kB / 436.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.1744, allocations: 23.7 kB / 436.5 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.1745, allocations: 29.7 kB / 436.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1747, allocations: 326.8 kB / 436.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/0.1747, allocations: 20 kB / 436.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.1748, allocations: 37.7 kB / 436.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1749, allocations: 57.64 kB / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.175, allocations: 0 / 436.9 MB, free: 1.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.1752, allocations: 105.5 kB / 437 MB, free: 1.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1752, allocations: 8 kB / 437.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1752, allocations: 0 / 437.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1752, allocations: 0 / 437.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1753, allocations: 15.94 kB / 437.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1753, allocations: 4 kB / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.1754, allocations: 7.922 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1754, allocations: 8 kB / 437.1 MB, free: 0.9727 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.0001149/0.1755, allocations: 117.9 kB / 437.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1756, allocations: 11.91 kB / 437.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.1756, allocations: 20.7 kB / 437.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1756, allocations: 0 / 437.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1756, allocations: 0 / 437.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1757, allocations: 3.938 kB / 437.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1761, allocations: 391.3 kB / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1761, allocations: 384 / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.1762, allocations: 12.02 kB / 437.6 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1762, allocations: 7.938 kB / 437.6 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1762, allocations: 7.938 kB / 437.7 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1762, allocations: 4 kB / 437.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1762, allocations: 0 / 437.7 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1765, allocations: 200.2 kB / 437.9 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.1766, allocations: 81.02 kB / 437.9 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1766, allocations: 15.94 kB / 437.9 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.1767, allocations: 3.984 kB / 437.9 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1767, allocations: 4 kB / 438 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1768, allocations: 4 kB / 438 MB, free: 0 / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1769, allocations: 144.2 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1769, allocations: 7.938 kB / 438.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1772, allocations: 27.94 kB / 438.1 MB, free: 15.82 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.00115/0.1784, allocations: 477 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1786, allocations: 63.91 kB / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1786, allocations: 0 / 438.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.1787, allocations: 23.98 kB / 438.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1791, allocations: 39.23 kB / 438.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004764/0.1796, allocations: 223.1 kB / 438.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1799, allocations: 0.7041 MB / 439.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.1799, allocations: 13.19 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.18, allocations: 19.44 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.18, allocations: 0 / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.005181/0.1852, allocations: 1.693 MB / 441.4 MB, free: 12.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)