Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009957/0.0009959, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.4236/0.4236, allocations: 40 MB / 310.4 MB, free: 9.629 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.0006107/0.0006109, allocations: 20 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1555, allocations: 57.96 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002097/0.1577, allocations: 1.386 MB / 438.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1588, allocations: 0.7344 MB / 438.9 MB, free: 140 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.1589, allocations: 4 kB / 438.9 MB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1592, allocations: 31.89 kB / 439 MB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1594, allocations: 51.77 kB / 439 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1597, allocations: 63.91 kB / 439.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.1598, allocations: 79.7 kB / 439.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.1599, allocations: 12.22 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.765e-05/0.16, allocations: 39.77 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.1601, allocations: 27.86 kB / 439.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1601, allocations: 4 kB / 439.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.1602, allocations: 35.98 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.1603, allocations: 19.91 kB / 439.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.1603, allocations: 41.64 kB / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1604, allocations: 80.05 kB / 439.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1604, allocations: 0 / 439.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1605, allocations: 0 / 439.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1605, allocations: 0 / 439.4 MB, free: 15.65 MB / 382.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.0005036/0.161, allocations: 390.9 kB / 439.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.161, allocations: 19.97 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1611, allocations: 7.906 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1613, allocations: 199.4 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1613, allocations: 11.98 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1614, allocations: 0 / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1615, allocations: 53.67 kB / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1615, allocations: 0 / 440.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1616, allocations: 3.938 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1616, allocations: 7.953 kB / 440.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.923e-05/0.1616, allocations: 19.98 kB / 440.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.162, allocations: 288.7 kB / 440.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.1622, allocations: 54.69 kB / 440.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.1622, allocations: 20.84 kB / 440.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1623, allocations: 4 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1625, allocations: 71.34 kB / 440.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1625, allocations: 0 / 440.5 MB, free: 14.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.1631, allocations: 161.3 kB / 440.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1631, allocations: 59.39 kB / 440.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1633, allocations: 159 kB / 440.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1633, allocations: 29.64 kB / 440.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.1634, allocations: 100.1 kB / 441 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1634, allocations: 27.64 kB / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.1634, allocations: 0 / 441.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1636, allocations: 322.8 kB / 441.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.1636, allocations: 23.98 kB / 441.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.1637, allocations: 33.7 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.1638, allocations: 20 kB / 441.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1638, allocations: 4 kB / 441.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.164, allocations: 105.4 kB / 441.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.164, allocations: 8 kB / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.164, allocations: 0 / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1641, allocations: 0 / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.1642, allocations: 15.98 kB / 441.6 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1642, allocations: 8.141 kB / 441.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.1642, allocations: 0 / 441.6 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1642, allocations: 4 kB / 441.6 MB, free: 13.23 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1644, allocations: 141.8 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.1644, allocations: 11.86 kB / 441.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.1644, allocations: 16.66 kB / 441.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1644, allocations: 0 / 441.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1644, allocations: 3.984 kB / 441.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1645, allocations: 0 / 441.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1649, allocations: 387.7 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1649, allocations: 7.969 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.1649, allocations: 12 kB / 442.2 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1649, allocations: 4 kB / 442.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.165, allocations: 4 kB / 442.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.165, allocations: 0 / 442.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.165, allocations: 4 kB / 442.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.1652, allocations: 200.2 kB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.1653, allocations: 100.9 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1653, allocations: 4 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.1654, allocations: 0 / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.1654, allocations: 7.984 kB / 442.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1654, allocations: 8 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1656, allocations: 124.5 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1656, allocations: 0 / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1659, allocations: 23.98 kB / 442.6 MB, free: 12.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.1669, allocations: 456.6 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.1671, allocations: 59.91 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1672, allocations: 4.062 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.1672, allocations: 27.98 kB / 443.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1676, allocations: 35.78 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.1681, allocations: 221.9 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.1686, allocations: 0.7004 MB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.051e-05/0.1687, allocations: 17.17 kB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.1687, allocations: 19.44 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1687, allocations: 0 / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Templates: time 0.005628/0.1744, allocations: 1.579 MB / 445.7 MB, free: 8.953 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) Environment - environmentSimulation: