Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 108 kB / 15.6 MB, free: 132 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.001469/0.001469, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.712/1.712, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.3855/0.3855, allocations: 39.94 MB / 309.7 MB, free: 9.273 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.001714/0.001714, allocations: 71.91 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1564, allocations: 56.89 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004046/0.1605, allocations: 1.685 MB / 436.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.162, allocations: 0.8016 MB / 437 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.1622, allocations: 4 kB / 437 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.1625, allocations: 47.77 kB / 437 MB, free: 1.102 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.00025/0.1628, allocations: 51.75 kB / 437.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1631, allocations: 79.7 kB / 437.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1633, allocations: 95.7 kB / 437.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1634, allocations: 20.2 kB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.1635, allocations: 43.78 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.1636, allocations: 23.86 kB / 437.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1636, allocations: 4 kB / 437.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1638, allocations: 43.98 kB / 437.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.1638, allocations: 19.91 kB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.1639, allocations: 39.69 kB / 437.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1642, allocations: 115.9 kB / 437.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.1642, allocations: 0 / 437.6 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1642, allocations: 3.938 kB / 437.6 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1642, allocations: 4 kB / 437.6 MB, free: 0.5664 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.0007964/0.165, allocations: 422.5 kB / 438 MB, free: 112 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.1651, allocations: 15.89 kB / 438 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.1652, allocations: 8.844 kB / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1655, allocations: 216.7 kB / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1656, allocations: 384 / 438.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.1656, allocations: 12.12 kB / 438.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1658, allocations: 61.61 kB / 438.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1659, allocations: 4 kB / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1659, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1659, allocations: 0 / 438.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.166, allocations: 19.98 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.1665, allocations: 280.9 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1668, allocations: 62.61 kB / 438.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.1668, allocations: 24.84 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1669, allocations: 4 kB / 438.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.1672, allocations: 63.39 kB / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.1672, allocations: 0 / 438.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006982/0.1679, allocations: 173.1 kB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.168, allocations: 55.41 kB / 439 MB, free: 14.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1682, allocations: 199.3 kB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1682, allocations: 25.7 kB / 439.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.1683, allocations: 104.1 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.1684, allocations: 23.7 kB / 439.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1684, allocations: 25.7 kB / 439.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1686, allocations: 330.8 kB / 439.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.1687, allocations: 20 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.1688, allocations: 41.64 kB / 439.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1689, allocations: 57.7 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1689, allocations: 0 / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.1691, allocations: 101.4 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1692, allocations: 4 kB / 439.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1692, allocations: 4 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.1692, allocations: 3.984 kB / 439.9 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1693, allocations: 19.97 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1693, allocations: 192 / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.1694, allocations: 7.938 kB / 439.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1694, allocations: 11.94 kB / 439.9 MB, free: 13.98 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.000135/0.1695, allocations: 129.7 kB / 440.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1696, allocations: 11.91 kB / 440.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.1696, allocations: 17.39 kB / 440.1 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.1696, allocations: 3.984 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1697, allocations: 0 / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1697, allocations: 7.938 kB / 440.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1702, allocations: 395.6 kB / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1702, allocations: 0 / 440.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.438e-05/0.1703, allocations: 12 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1703, allocations: 3.984 kB / 440.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1703, allocations: 11.94 kB / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1703, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1703, allocations: 0 / 440.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1706, allocations: 200.3 kB / 440.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1707, allocations: 88.92 kB / 440.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.1707, allocations: 7.938 kB / 440.8 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1708, allocations: 7.984 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.1708, allocations: 4 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.1709, allocations: 4 kB / 440.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.171, allocations: 156.9 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1713, allocations: 27.98 kB / 441 MB, free: 12.8 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.001132/0.1724, allocations: 461.5 kB / 441.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1726, allocations: 71.89 kB / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1727, allocations: 0 / 441.5 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.1727, allocations: 31.88 kB / 441.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1731, allocations: 35.83 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.1737, allocations: 227.3 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.1742, allocations: 0.7041 MB / 442.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.728e-05/0.1743, allocations: 17.19 kB / 442.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.1743, allocations: 19.42 kB / 442.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1743, allocations: 0 / 442.5 MB, free: 11.22 MB / 382.1 MB Notification: Performance of Templates: time 0.006042/0.1804, allocations: 1.701 MB / 444.2 MB, free: 9.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)