Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008709, allocations: 89.81 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.0068/0.0068, allocations: 170.8 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.63/1.63, allocations: 205.4 MB / 222.4 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.3648/0.3648, allocations: 40.01 MB / 310.7 MB, free: 9.562 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.0005383/0.0005382, allocations: 16.66 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1474, allocations: 57.96 MB / 437.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002353/0.1499, allocations: 1.416 MB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1512, allocations: 0.7847 MB / 439.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.1513, allocations: 3.938 kB / 439.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1516, allocations: 103.8 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1519, allocations: 75.78 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.1521, allocations: 79.84 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1523, allocations: 111.7 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1524, allocations: 15.98 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.1526, allocations: 63.69 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1527, allocations: 63.75 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1527, allocations: 4 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.1528, allocations: 39.98 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.1529, allocations: 35.83 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.153, allocations: 61.39 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1532, allocations: 139.8 kB / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1533, allocations: 0 / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.1533, allocations: 0 / 440.4 MB, free: 14.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1533, allocations: 3.938 kB / 440.4 MB, free: 14.88 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005888/0.1539, allocations: 426.8 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1539, allocations: 8.031 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.154, allocations: 20.75 kB / 440.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1543, allocations: 227.7 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1543, allocations: 384 / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1543, allocations: 12.12 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1545, allocations: 69.59 kB / 441.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1545, allocations: 0 / 441.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1545, allocations: 4 kB / 441.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1545, allocations: 4 kB / 441.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1547, allocations: 39.95 kB / 441.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.1551, allocations: 316.6 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1553, allocations: 66.73 kB / 441.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.1554, allocations: 28.86 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1554, allocations: 11.97 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.1556, allocations: 71.42 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1557, allocations: 0 / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006261/0.1563, allocations: 229 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1563, allocations: 51.41 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1566, allocations: 250.5 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1566, allocations: 33.69 kB / 442.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.1567, allocations: 116 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/0.1567, allocations: 35.55 kB / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1568, allocations: 17.7 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1569, allocations: 326.8 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.157, allocations: 31.98 kB / 442.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.1571, allocations: 49.7 kB / 442.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1573, allocations: 81.64 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1573, allocations: 4 kB / 442.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002141/0.1575, allocations: 129.4 kB / 443 MB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1575, allocations: 11.94 kB / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1575, allocations: 0 / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1575, allocations: 0 / 443 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1577, allocations: 27.92 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1577, allocations: 7.969 kB / 443.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1577, allocations: 4 kB / 443.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1578, allocations: 4 kB / 443.1 MB, free: 11.97 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 (13): * Single equations (assignments): 13 * 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.0001185/0.1579, allocations: 133.8 kB / 443.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1579, allocations: 15.81 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.158, allocations: 25.39 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.158, allocations: 0 / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.158, allocations: 3.938 kB / 443.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.158, allocations: 8 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.1585, allocations: 443.2 kB / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1585, allocations: 0 / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.1586, allocations: 19.92 kB / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1586, allocations: 0 / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1586, allocations: 4 kB / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1586, allocations: 0 / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1586, allocations: 0 / 443.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1589, allocations: 236.1 kB / 443.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.159, allocations: 96.86 kB / 444 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.159, allocations: 4 kB / 444 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.1591, allocations: 4 kB / 444 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1591, allocations: 15.98 kB / 444 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1591, allocations: 4 kB / 444.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.1593, allocations: 196.2 kB / 444.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1593, allocations: 0 / 444.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1596, allocations: 28 kB / 444.3 MB, free: 10.66 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 (11): * Single equations (assignments): 9 * 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.001026/0.1606, allocations: 481.2 kB / 444.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1608, allocations: 79.91 kB / 444.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1609, allocations: 0 / 444.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.1609, allocations: 39.98 kB / 444.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1613, allocations: 36.06 kB / 444.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.1621, allocations: 338.9 kB / 445.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.1625, allocations: 0.7243 MB / 446 MB, free: 8.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.995e-05/0.1626, allocations: 25.05 kB / 446 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.1627, allocations: 19.44 kB / 446 MB, free: 8.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.395e-06/0.1627, allocations: 0 / 446 MB, free: 8.906 MB / 382.1 MB Notification: Performance of Templates: time 0.005336/0.168, allocations: 1.798 MB / 447.8 MB, free: 7.109 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: