Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001869, allocations: 191 kB / 16.25 MB, free: 6.625 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.69/1.69, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.4153/0.4153, allocations: 39.94 MB / 309.4 MB, free: 9.426 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.001743/0.001742, allocations: 75.89 kB / 377.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 56.88 MB / 434 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003731/0.1573, allocations: 1.748 MB / 435.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1586, allocations: 0.7962 MB / 436.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.1587, allocations: 0 / 436.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.1591, allocations: 83.81 kB / 436.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.1593, allocations: 67.78 kB / 436.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1596, allocations: 75.86 kB / 436.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1598, allocations: 103.7 kB / 436.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1599, allocations: 24.14 kB / 436.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.16, allocations: 55.77 kB / 437 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1601, allocations: 63.81 kB / 437 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1602, allocations: 4 kB / 437 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1603, allocations: 43.98 kB / 437.1 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1603, allocations: 19.92 kB / 437.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.1604, allocations: 39.62 kB / 437.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1606, allocations: 119.9 kB / 437.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1607, allocations: 0 / 437.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1607, allocations: 0 / 437.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1607, allocations: 0 / 437.2 MB, free: 0.7891 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.0005818/0.1613, allocations: 438.8 kB / 437.7 MB, free: 320 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1613, allocations: 15.89 kB / 437.7 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.1614, allocations: 8.844 kB / 437.7 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1616, allocations: 212 kB / 437.9 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1616, allocations: 384 / 437.9 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1617, allocations: 8.125 kB / 437.9 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1618, allocations: 61.59 kB / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1618, allocations: 0 / 438 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1619, allocations: 4 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1619, allocations: 0 / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.162, allocations: 23.98 kB / 438 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1624, allocations: 288.8 kB / 438.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1625, allocations: 62.61 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.1626, allocations: 24.84 kB / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1626, allocations: 0 / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1629, allocations: 71.38 kB / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1629, allocations: 0 / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005428/0.1634, allocations: 177.1 kB / 438.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1635, allocations: 55.39 kB / 438.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1637, allocations: 222.7 kB / 438.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1638, allocations: 25.7 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.1638, allocations: 108.1 kB / 439 MB, free: 14.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1639, allocations: 27.64 kB / 439 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1639, allocations: 25.66 kB / 439.1 MB, free: 14.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1641, allocations: 326.8 kB / 439.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.1641, allocations: 23.98 kB / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.1642, allocations: 41.64 kB / 439.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1643, allocations: 61.7 kB / 439.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1643, allocations: 0 / 439.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.1645, allocations: 101.4 kB / 439.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1646, allocations: 8 kB / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1646, allocations: 0 / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1646, allocations: 0 / 439.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.1647, allocations: 15.98 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1647, allocations: 11.97 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1647, allocations: 7.938 kB / 439.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.1648, allocations: 4 kB / 439.6 MB, free: 14.14 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.0001152/0.1649, allocations: 133.6 kB / 439.8 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1649, allocations: 11.91 kB / 439.8 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.165, allocations: 21.39 kB / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.165, allocations: 0 / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.165, allocations: 0 / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.165, allocations: 3.938 kB / 439.8 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.1654, allocations: 403.2 kB / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1655, allocations: 0 / 440.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.1655, allocations: 11.98 kB / 440.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1655, allocations: 0 / 440.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1655, allocations: 3.938 kB / 440.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1655, allocations: 4 kB / 440.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1655, allocations: 0 / 440.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1658, allocations: 208.3 kB / 440.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1658, allocations: 88.92 kB / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1659, allocations: 3.938 kB / 440.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.1659, allocations: 12.36 kB / 440.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.166, allocations: 4 kB / 440.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.166, allocations: 4 kB / 440.5 MB, free: 13.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1661, allocations: 180.3 kB / 440.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 440.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.1664, allocations: 24 kB / 440.7 MB, free: 12.94 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.001026/0.1674, allocations: 482 kB / 441.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1676, allocations: 59.92 kB / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1676, allocations: 0 / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.1677, allocations: 31.92 kB / 441.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1681, allocations: 23.84 kB / 441.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.1685, allocations: 291 kB / 441.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1688, allocations: 0.7041 MB / 442.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.1689, allocations: 17.19 kB / 442.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.1689, allocations: 19.44 kB / 442.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1689, allocations: 0 / 442.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004642/0.1736, allocations: 1.684 MB / 444 MB, free: 9.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)