Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001253/0.001253, allocations: 172.7 kB / 15.95 MB, free: 208 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.783/1.783, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.4622/0.4622, allocations: 40 MB / 310.4 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.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.0005687/0.0005688, allocations: 16 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1538, allocations: 57.95 MB / 436.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002478/0.1563, allocations: 1.389 MB / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.1593, allocations: 1.321 MB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1595, allocations: 7.938 kB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1599, allocations: 23.91 kB / 439.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.1602, allocations: 51.77 kB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1606, allocations: 71.83 kB / 439.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.1608, allocations: 79.77 kB / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.161, allocations: 16.22 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1612, allocations: 35.8 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1614, allocations: 35.83 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1614, allocations: 4 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1616, allocations: 47.98 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.1617, allocations: 15.91 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.1618, allocations: 37.64 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1621, allocations: 92.08 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.1621, allocations: 0 / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1621, allocations: 0 / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1621, allocations: 7.938 kB / 440 MB, free: 15.27 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.0008832/0.163, allocations: 394.9 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.1631, allocations: 8.031 kB / 440.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.401e-05/0.1632, allocations: 7.906 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.1636, allocations: 206.8 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1636, allocations: 0 / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1637, allocations: 0 / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1639, allocations: 71.39 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1639, allocations: 3.953 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1639, allocations: 0 / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.164, allocations: 4 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.1641, allocations: 19.98 kB / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1646, allocations: 276.9 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.1649, allocations: 62.67 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.1649, allocations: 24.8 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.165, allocations: 0 / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1652, allocations: 71.33 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1652, allocations: 0 / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007066/0.1659, allocations: 173.5 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.166, allocations: 89.05 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1662, allocations: 142.3 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1663, allocations: 25.7 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.1663, allocations: 96.12 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.1664, allocations: 23.66 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.1664, allocations: 4 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1666, allocations: 330.7 kB / 442 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.1667, allocations: 23.98 kB / 442 MB, free: 13.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.1668, allocations: 42.56 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.1669, allocations: 20 kB / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1669, allocations: 0 / 442.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002711/0.1671, allocations: 105.6 kB / 442.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1672, allocations: 4 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1672, allocations: 4 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1672, allocations: 4.062 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1673, allocations: 16 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1673, allocations: 3.984 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.1674, allocations: 8.188 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1674, allocations: 0 / 442.2 MB, free: 12.81 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.0001496/0.1676, allocations: 129.7 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1676, allocations: 7.906 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.1677, allocations: 20.69 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1677, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1677, allocations: 0 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1677, allocations: 0 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1682, allocations: 391.4 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1682, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1683, allocations: 11.98 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1683, allocations: 4 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1683, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1683, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1683, allocations: 4.031 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1686, allocations: 212.1 kB / 443 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1687, allocations: 93 kB / 443.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1687, allocations: 0 / 443.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1688, allocations: 4 kB / 443.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1688, allocations: 11.98 kB / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1689, allocations: 8 kB / 443.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.169, allocations: 118.7 kB / 443.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.169, allocations: 0 / 443.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1693, allocations: 31.95 kB / 443.3 MB, free: 11.67 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.001205/0.1705, allocations: 0.5004 MB / 443.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.1707, allocations: 59.92 kB / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1707, allocations: 0 / 443.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.1708, allocations: 36.03 kB / 443.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1711, allocations: 28.28 kB / 443.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.1716, allocations: 201.9 kB / 444.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.1721, allocations: 0.7083 MB / 444.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.031e-05/0.1722, allocations: 16.86 kB / 444.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.1723, allocations: 19.42 kB / 444.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1723, allocations: 0 / 444.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Templates: time 0.005031/0.1773, allocations: 1.834 MB / 446.7 MB, free: 8.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) Environment - environmentSimulation: