Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001195/0.001194, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001149/0.001149, allocations: 177.3 kB / 15.94 MB, free: 228 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.82/1.82, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3621/0.3621, allocations: 38.02 MB / 308.4 MB, free: 10.4 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.1. 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.0005636/0.0005638, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1451, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002437/0.1476, allocations: 1.633 MB / 435.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1491, allocations: 0.8277 MB / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1492, allocations: 0 / 436.4 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1495, allocations: 35.77 kB / 436.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.1497, allocations: 67.77 kB / 436.5 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.15, allocations: 95.75 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.1502, allocations: 115.8 kB / 436.7 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1504, allocations: 29.66 kB / 436.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1505, allocations: 75.69 kB / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1506, allocations: 67.67 kB / 436.9 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.1506, allocations: 4 kB / 436.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/0.1507, allocations: 31.94 kB / 436.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.1508, allocations: 35.77 kB / 436.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.1509, allocations: 49.62 kB / 437 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.1511, allocations: 140 kB / 437.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1511, allocations: 0 / 437.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1511, allocations: 0 / 437.1 MB, free: 2.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1511, allocations: 0 / 437.1 MB, free: 2.359 MB / 366.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.0009535/0.1521, allocations: 0.5486 MB / 437.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1521, allocations: 16.02 kB / 437.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.1522, allocations: 19.77 kB / 437.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1525, allocations: 235.6 kB / 437.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1526, allocations: 4 kB / 437.9 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1526, allocations: 12 kB / 438 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.1532, allocations: 164.1 kB / 438.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1532, allocations: 0 / 438.1 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1532, allocations: 3.984 kB / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1532, allocations: 4 kB / 438.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.1537, allocations: 139.8 kB / 438.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.1545, allocations: 0.5439 MB / 438.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.1552, allocations: 194.5 kB / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1552, allocations: 0 / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004335/0.1556, allocations: 147.2 kB / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1557, allocations: 0 / 439.1 MB, free: 152 kB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000942/0.1566, allocations: 297.4 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1567, allocations: 59.41 kB / 439.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.1569, allocations: 219.2 kB / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.157, allocations: 29.7 kB / 439.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1571, allocations: 124.3 kB / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1571, allocations: 39.59 kB / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.1571, allocations: 0 / 439.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1573, allocations: 330.8 kB / 440.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.1576, allocations: 79.94 kB / 440.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.1579, allocations: 116.2 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.1581, allocations: 109.6 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/0.1582, allocations: 7.953 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006326/0.1588, allocations: 267 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.1589, allocations: 37.7 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1589, allocations: 3.938 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1589, allocations: 4.125 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1591, allocations: 47.91 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1591, allocations: 0 / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.1593, allocations: 39.81 kB / 440.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1593, allocations: 7.938 kB / 440.9 MB, free: 14.28 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.0001629/0.1595, allocations: 139.5 kB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.1595, allocations: 19.77 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.1596, allocations: 25.39 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1596, allocations: 0 / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1596, allocations: 0 / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1597, allocations: 0 / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1599, allocations: 245.4 kB / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1599, allocations: 0 / 441.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1601, allocations: 31.94 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1601, allocations: 4 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1602, allocations: 3.984 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1602, allocations: 0 / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1602, allocations: 0 / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.1611, allocations: 348.6 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.1612, allocations: 92.92 kB / 441.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.1612, allocations: 3.953 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1614, allocations: 36.03 kB / 441.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.1615, allocations: 19.97 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.1615, allocations: 7.984 kB / 441.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1617, allocations: 160.6 kB / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1619, allocations: 39.98 kB / 442.1 MB, free: 13.02 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.001123/0.1631, allocations: 418.1 kB / 442.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.1637, allocations: 243.3 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1637, allocations: 4 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.164, allocations: 83.88 kB / 442.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1643, allocations: 44.09 kB / 442.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.1651, allocations: 346 kB / 443.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1654, allocations: 0.7283 MB / 443.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.689e-05/0.1655, allocations: 25.48 kB / 443.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.1656, allocations: 23.44 kB / 444 MB, free: 11.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1656, allocations: 3.938 kB / 444 MB, free: 11.09 MB / 382.1 MB Notification: Performance of Templates: time 0.005912/0.1715, allocations: 2.493 MB / 446.5 MB, free: 8.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: