Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008925, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01237/0.01237, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.879/1.879, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.3819/0.3819, allocations: 40 MB / 310.7 MB, free: 9.633 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.0005734/0.0005734, allocations: 20 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002332/0.1608, allocations: 1.413 MB / 438.8 MB, free: 492 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1624, allocations: 0.7768 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1625, allocations: 4 kB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1629, allocations: 27.91 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1631, allocations: 55.75 kB / 439.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1635, allocations: 75.86 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1637, allocations: 91.69 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1638, allocations: 16.22 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1639, allocations: 39.78 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.164, allocations: 27.86 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.164, allocations: 3.984 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1641, allocations: 35.98 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.1642, allocations: 15.92 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.1643, allocations: 61.39 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1645, allocations: 115.9 kB / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1645, allocations: 0 / 440.2 MB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1645, allocations: 7.938 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1645, allocations: 0 / 440.2 MB, free: 15.12 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.0006323/0.1652, allocations: 395.1 kB / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1652, allocations: 8.031 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.1653, allocations: 8.844 kB / 440.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1655, allocations: 208.1 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.1656, allocations: 8.375 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.1656, allocations: 4.125 kB / 440.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1657, allocations: 61.61 kB / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1658, allocations: 0 / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1658, allocations: 0 / 440.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1658, allocations: 4 kB / 440.9 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.1659, allocations: 15.98 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1662, allocations: 284.9 kB / 441.1 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1664, allocations: 62.61 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.1665, allocations: 28.78 kB / 441.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1665, allocations: 0 / 441.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1667, allocations: 67.3 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1667, allocations: 0 / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.1673, allocations: 169.3 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1674, allocations: 59.41 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1675, allocations: 182.2 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1676, allocations: 25.7 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.1676, allocations: 108.1 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1677, allocations: 23.7 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1677, allocations: 13.72 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1678, allocations: 326.8 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.1679, allocations: 23.98 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.168, allocations: 37.66 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1681, allocations: 65.77 kB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1681, allocations: 0 / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.1683, allocations: 97.52 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1683, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1683, allocations: 0 / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1683, allocations: 4 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.1684, allocations: 16.41 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1684, allocations: 192 / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.1685, allocations: 11.92 kB / 442.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1685, allocations: 15.94 kB / 442.5 MB, free: 12.59 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.0001194/0.1686, allocations: 125.8 kB / 442.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.1687, allocations: 7.906 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.1687, allocations: 16.7 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1687, allocations: 4 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1687, allocations: 4 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.1687, allocations: 3.938 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.1692, allocations: 391.2 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1693, allocations: 4 kB / 443 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1693, allocations: 11.98 kB / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1693, allocations: 0 / 443 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1693, allocations: 3.938 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1693, allocations: 0 / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1693, allocations: 11.97 kB / 443 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1696, allocations: 204.2 kB / 443.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.1696, allocations: 96.91 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1697, allocations: 3.938 kB / 443.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.1697, allocations: 4 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1698, allocations: 3.984 kB / 443.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1698, allocations: 8 kB / 443.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1699, allocations: 148.1 kB / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1699, allocations: 0 / 443.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1702, allocations: 23.98 kB / 443.5 MB, free: 11.43 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.001016/0.1712, allocations: 460.8 kB / 444 MB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1714, allocations: 63.91 kB / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1714, allocations: 0 / 444 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.1715, allocations: 32.02 kB / 444.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1718, allocations: 35.91 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.1723, allocations: 242.7 kB / 444.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1726, allocations: 0.7004 MB / 445 MB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.1726, allocations: 20.88 kB / 445 MB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.1726, allocations: 11.44 kB / 445.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1727, allocations: 4 kB / 445.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of Templates: time 0.004402/0.1771, allocations: 1.616 MB / 446.7 MB, free: 8.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) Environment - environmentSimulation: