Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001878/0.001878, allocations: 168.7 kB / 15.95 MB, free: 204 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.959/1.959, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.4424/0.4424, allocations: 40 MB / 310.4 MB, free: 10.02 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.0006269/0.000627, allocations: 12 kB / 378.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1502, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002548/0.1528, allocations: 1.668 MB / 438.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1544, allocations: 0.8356 MB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1546, allocations: 3.938 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004008/0.155, allocations: 31.83 kB / 439.3 MB, free: 4 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1553, allocations: 59.7 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.1557, allocations: 99.8 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.1559, allocations: 167.5 kB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1561, allocations: 33.58 kB / 439.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1563, allocations: 71.7 kB / 439.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1564, allocations: 67.67 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1564, allocations: 8 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1566, allocations: 43.92 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.1567, allocations: 27.91 kB / 439.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.91e-05/0.1567, allocations: 45.58 kB / 440 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.157, allocations: 143.9 kB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.157, allocations: 0 / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.157, allocations: 0 / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.157, allocations: 0 / 440.1 MB, free: 15.25 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001072/0.1581, allocations: 0.5448 MB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.1582, allocations: 8.031 kB / 440.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.1583, allocations: 15.81 kB / 440.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.1587, allocations: 243.5 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.1587, allocations: 4 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.1588, allocations: 16 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.1592, allocations: 160.1 kB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1593, allocations: 4 kB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1593, allocations: 0 / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1593, allocations: 11.89 kB / 441.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.1597, allocations: 139.8 kB / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.1604, allocations: 0.5399 MB / 441.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.1611, allocations: 186.6 kB / 442 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.1613, allocations: 92.73 kB / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.1614, allocations: 0 / 442 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/0.1618, allocations: 147.2 kB / 442.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.1618, allocations: 0 / 442.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008658/0.1627, allocations: 293.6 kB / 442.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.1629, allocations: 59.39 kB / 442.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1631, allocations: 219.1 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1631, allocations: 33.7 kB / 442.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1633, allocations: 132.2 kB / 442.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.1633, allocations: 27.7 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/0.1634, allocations: 8 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1636, allocations: 330.8 kB / 443.3 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1639, allocations: 75.94 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.1642, allocations: 128.2 kB / 443.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1644, allocations: 105.7 kB / 443.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1644, allocations: 0 / 443.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006555/0.1651, allocations: 282.9 kB / 443.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.1651, allocations: 29.7 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1652, allocations: 4.125 kB / 443.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1652, allocations: 4 kB / 443.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1654, allocations: 47.91 kB / 443.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1654, allocations: 0 / 443.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1656, allocations: 31.91 kB / 444 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1656, allocations: 12 kB / 444 MB, free: 11.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001421/0.1657, allocations: 146.5 kB / 444.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1658, allocations: 19.72 kB / 444.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.1658, allocations: 21.39 kB / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1659, allocations: 0 / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1659, allocations: 4 kB / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1659, allocations: 0 / 444.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1661, allocations: 233.5 kB / 444.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1661, allocations: 0 / 444.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.1663, allocations: 43.91 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1663, allocations: 0 / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.1663, allocations: 3.984 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1663, allocations: 4 kB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1663, allocations: 3.938 kB / 444.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.1671, allocations: 336.9 kB / 444.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.1672, allocations: 100.9 kB / 444.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1672, allocations: 4 kB / 444.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1674, allocations: 32.03 kB / 444.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.1675, allocations: 19.91 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1675, allocations: 8 kB / 444.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1677, allocations: 160.6 kB / 445.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1677, allocations: 3.938 kB / 445.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1679, allocations: 47.89 kB / 445.1 MB, free: 9.809 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009153/0.1688, allocations: 409.5 kB / 445.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.1695, allocations: 247.3 kB / 445.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1695, allocations: 0 / 445.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.1698, allocations: 92 kB / 445.9 MB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1701, allocations: 43.91 kB / 445.9 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007906/0.1709, allocations: 354 kB / 446.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1713, allocations: 0.7283 MB / 447 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1714, allocations: 21.53 kB / 447 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.1715, allocations: 19.44 kB / 447 MB, free: 7.887 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1715, allocations: 0 / 447 MB, free: 7.887 MB / 382.1 MB Notification: Performance of Templates: time 0.006403/0.1779, allocations: 2.494 MB / 449.5 MB, free: 5.398 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: