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.00168/0.00168, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.829/1.829, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3653/0.3653, allocations: 39.93 MB / 309.7 MB, free: 9.227 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.001615/0.001615, allocations: 64.23 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1509, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003788/0.1548, allocations: 2.007 MB / 436.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.1565, allocations: 0.8895 MB / 437.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1566, allocations: 11.88 kB / 437.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.1571, allocations: 43.7 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1574, allocations: 67.56 kB / 437.5 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1578, allocations: 115.7 kB / 437.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1581, allocations: 195.4 kB / 437.8 MB, free: 340 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1583, allocations: 41.92 kB / 437.9 MB, free: 300 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1585, allocations: 75.64 kB / 437.9 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1586, allocations: 75.67 kB / 438 MB, free: 148 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.1587, allocations: 12 kB / 438 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1588, allocations: 55.92 kB / 438.1 MB, free: 80 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.89e-05/0.1589, allocations: 39.83 kB / 438.1 MB, free: 40 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1591, allocations: 71.67 kB / 438.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.1594, allocations: 191.3 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1594, allocations: 3.938 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1594, allocations: 0 / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1594, allocations: 0 / 438.4 MB, free: 15.78 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.001132/0.1606, allocations: 0.5525 MB / 438.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1606, allocations: 15.89 kB / 438.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.406e-05/0.1607, allocations: 28.73 kB / 439 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1611, allocations: 236.8 kB / 439.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1611, allocations: 8.375 kB / 439.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.1612, allocations: 20.03 kB / 439.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.1616, allocations: 144.1 kB / 439.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1616, allocations: 4 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.1617, allocations: 8 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1617, allocations: 0 / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.1621, allocations: 115.8 kB / 439.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.1628, allocations: 0.5399 MB / 440 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.1634, allocations: 162.5 kB / 440.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.1637, allocations: 76.73 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1637, allocations: 4 kB / 440.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.1642, allocations: 135.3 kB / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.1642, allocations: 0 / 440.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009446/0.1652, allocations: 253.2 kB / 440.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1652, allocations: 67.28 kB / 440.7 MB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.1655, allocations: 223.1 kB / 440.9 MB, free: 12.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1655, allocations: 29.7 kB / 441 MB, free: 12.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1656, allocations: 124.3 kB / 441.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.1656, allocations: 35.69 kB / 441.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.1657, allocations: 33.7 kB / 441.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1659, allocations: 338.8 kB / 441.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1661, allocations: 71.89 kB / 441.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.1664, allocations: 96.23 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.1669, allocations: 193.8 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1669, allocations: 4 kB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006107/0.1675, allocations: 262.9 kB / 442.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.1676, allocations: 33.7 kB / 442.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1676, allocations: 0 / 442.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1676, allocations: 4 kB / 442.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1678, allocations: 43.83 kB / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1678, allocations: 128 / 442.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.168, allocations: 35.83 kB / 442.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.168, allocations: 7.984 kB / 442.2 MB, free: 11.62 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.1682, allocations: 137.7 kB / 442.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1682, allocations: 15.81 kB / 442.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.1683, allocations: 25.39 kB / 442.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1683, allocations: 3.938 kB / 442.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1683, allocations: 0 / 442.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1683, allocations: 0 / 442.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.1685, allocations: 241.5 kB / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1685, allocations: 0 / 442.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1687, allocations: 23.97 kB / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1687, allocations: 0 / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1687, allocations: 0 / 442.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1687, allocations: 7.938 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1687, allocations: 3.938 kB / 442.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.1696, allocations: 308.6 kB / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.1696, allocations: 88.95 kB / 443.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1697, allocations: 0 / 443.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1698, allocations: 31.97 kB / 443.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.1699, allocations: 19.97 kB / 443.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1699, allocations: 4 kB / 443.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1701, allocations: 168.6 kB / 443.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1701, allocations: 0 / 443.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1704, allocations: 32 kB / 443.3 MB, free: 10.43 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 (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.0009377/0.1713, allocations: 422.2 kB / 443.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.172, allocations: 227.1 kB / 443.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.172, allocations: 0 / 443.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.1722, allocations: 75.94 kB / 444 MB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1726, allocations: 48.08 kB / 444.1 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000674/0.1733, allocations: 316.2 kB / 444.4 MB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.1736, allocations: 0.7241 MB / 445.1 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.1737, allocations: 33.52 kB / 445.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.1737, allocations: 23.42 kB / 445.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1737, allocations: 0 / 445.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of Templates: time 0.006552/0.1803, allocations: 2.795 MB / 447.9 MB, free: 5.754 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (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)