Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, 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.00128/0.00128, allocations: 196.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.72/1.72, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3704/0.3704, allocations: 37.99 MB / 307.8 MB, free: 9.965 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.001587/0.001587, allocations: 68.53 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1624, allocations: 56.47 MB / 431.7 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003275/0.1658, allocations: 1.666 MB / 433.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1671, allocations: 0.813 MB / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.1672, allocations: 0 / 434.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.1676, allocations: 43.77 kB / 434.2 MB, free: 4.07 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.000236/0.1679, allocations: 47.77 kB / 434.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1681, allocations: 87.75 kB / 434.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1683, allocations: 91.7 kB / 434.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1685, allocations: 12.22 kB / 434.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.1686, allocations: 47.77 kB / 434.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.1687, allocations: 27.8 kB / 434.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1687, allocations: 4 kB / 434.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1688, allocations: 43.98 kB / 434.6 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.1689, allocations: 27.91 kB / 434.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.169, allocations: 27.81 kB / 434.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1692, allocations: 107.9 kB / 434.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1692, allocations: 4 kB / 434.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.1692, allocations: 0 / 434.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1692, allocations: 3.938 kB / 434.8 MB, free: 3.547 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.0006561/0.1699, allocations: 411 kB / 435.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1699, allocations: 11.89 kB / 435.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.17, allocations: 16.75 kB / 435.2 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1702, allocations: 216.1 kB / 435.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1703, allocations: 384 / 435.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1703, allocations: 8.125 kB / 435.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1705, allocations: 53.67 kB / 435.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1705, allocations: 0 / 435.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1705, allocations: 0 / 435.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1705, allocations: 4 kB / 435.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.1706, allocations: 19.92 kB / 435.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.171, allocations: 288.9 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1712, allocations: 50.69 kB / 435.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.1713, allocations: 24.84 kB / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1713, allocations: 0 / 435.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.1715, allocations: 71.33 kB / 435.9 MB, free: 2.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 4.168e-06/0.1715, allocations: 3.984 kB / 435.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005738/0.1721, allocations: 169.2 kB / 436.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1722, allocations: 55.41 kB / 436.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1724, allocations: 182.2 kB / 436.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1724, allocations: 33.64 kB / 436.3 MB, free: 1.762 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1725, allocations: 108.1 kB / 436.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1725, allocations: 23.66 kB / 436.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.1726, allocations: 21.72 kB / 436.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1727, allocations: 330.8 kB / 436.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.1728, allocations: 23.98 kB / 436.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.1729, allocations: 33.7 kB / 436.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.173, allocations: 73.69 kB / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.173, allocations: 0 / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1732, allocations: 97.5 kB / 437 MB, free: 1.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1732, allocations: 4 kB / 437 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1732, allocations: 7.938 kB / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1732, allocations: 0 / 437.1 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.1733, allocations: 15.98 kB / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1734, allocations: 0 / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1734, allocations: 12.31 kB / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1734, allocations: 4 kB / 437.1 MB, free: 0.9844 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.0001068/0.1735, allocations: 125.9 kB / 437.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.1736, allocations: 7.906 kB / 437.2 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1736, allocations: 16.7 kB / 437.2 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1736, allocations: 4 kB / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1737, allocations: 4 kB / 437.2 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1737, allocations: 3.938 kB / 437.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.1741, allocations: 387.3 kB / 437.6 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1741, allocations: 4.031 kB / 437.6 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.1742, allocations: 11.94 kB / 437.6 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.1742, allocations: 4 kB / 437.6 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1742, allocations: 7.938 kB / 437.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1742, allocations: 0 / 437.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1742, allocations: 3.984 kB / 437.7 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.1744, allocations: 196.2 kB / 437.8 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1745, allocations: 89.02 kB / 437.9 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1745, allocations: 11.94 kB / 437.9 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1746, allocations: 0 / 437.9 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1746, allocations: 7.984 kB / 438 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1747, allocations: 4 kB / 438 MB, free: 8 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1748, allocations: 152 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1748, allocations: 3.938 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1751, allocations: 20.19 kB / 438.1 MB, free: 15.84 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.00107/0.1762, allocations: 468.1 kB / 438.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1764, allocations: 71.88 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1764, allocations: 0 / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.1765, allocations: 28.05 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1768, allocations: 31.78 kB / 438.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.1773, allocations: 231.2 kB / 438.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1777, allocations: 0.7002 MB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.555e-05/0.1778, allocations: 8.891 kB / 439.6 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.1778, allocations: 23.42 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1778, allocations: 0 / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of Templates: time 0.005179/0.183, allocations: 1.692 MB / 441.4 MB, free: 12.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)