Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00464/0.004647, allocations: 361.9 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.454/4.454, allocations: 388.9 MB / 405.6 MB, free: 47.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005828/0.005828, allocations: 224.7 kB / 451 MB, free: 2.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8513/0.8513, allocations: 80.01 MB / 0.5627 GB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 19.94 kB / 0.6265 GB, free: 4.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 54.87 MB / 0.6801 GB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.6502, allocations: 82.15 MB / 0.7603 GB, free: 38.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/0.6506, allocations: 83.95 kB / 0.7604 GB, free: 38.03 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02126/0.6719, allocations: 4.829 MB / 0.7651 GB, free: 33.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6719, allocations: 0.6875 kB / 0.7651 GB, free: 33.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.672, allocations: 4 kB / 0.7651 GB, free: 33.29 MB / 394.7 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.0005865/0.6726, allocations: 496.6 kB / 0.7656 GB, free: 32.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6726, allocations: 8.031 kB / 0.7656 GB, free: 32.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.123e-05/0.6727, allocations: 16.84 kB / 0.7656 GB, free: 32.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.6731, allocations: 211.1 kB / 0.7658 GB, free: 32.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.6731, allocations: 5.547 kB / 0.7658 GB, free: 32.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.6731, allocations: 4 kB / 0.7658 GB, free: 32.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.6733, allocations: 62.14 kB / 0.7659 GB, free: 32.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6734, allocations: 4.469 kB / 0.7659 GB, free: 32.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.6734, allocations: 6.734 kB / 0.7659 GB, free: 32.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6734, allocations: 0 / 0.7659 GB, free: 32.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.6735, allocations: 27.97 kB / 0.7659 GB, free: 32.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.674, allocations: 320.8 kB / 0.7662 GB, free: 32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.6742, allocations: 61.94 kB / 0.7663 GB, free: 31.94 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.6743, allocations: 24.81 kB / 0.7663 GB, free: 31.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.6743, allocations: 3.984 kB / 0.7663 GB, free: 31.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.6745, allocations: 72.06 kB / 0.7664 GB, free: 31.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.6746, allocations: 1.844 kB / 0.7664 GB, free: 31.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007492/0.6753, allocations: 189 kB / 0.7666 GB, free: 31.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.6754, allocations: 59.39 kB / 0.7666 GB, free: 31.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.6757, allocations: 229.5 kB / 0.7669 GB, free: 31.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.6757, allocations: 33.7 kB / 0.7669 GB, free: 31.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.6758, allocations: 100.1 kB / 0.767 GB, free: 31.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.6758, allocations: 30.14 kB / 0.767 GB, free: 31.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.6759, allocations: 4 kB / 0.767 GB, free: 31.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.6759, allocations: 327.4 kB / 0.7673 GB, free: 30.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.6761, allocations: 37.64 kB / 0.7674 GB, free: 30.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.6762, allocations: 57.62 kB / 0.7674 GB, free: 30.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.6764, allocations: 80.34 kB / 0.7675 GB, free: 30.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6764, allocations: 0 / 0.7675 GB, free: 30.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000398/0.6768, allocations: 183.6 kB / 0.7677 GB, free: 30.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.6769, allocations: 40.81 kB / 0.7677 GB, free: 30.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6769, allocations: 0 / 0.7677 GB, free: 30.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.6769, allocations: 6.438 kB / 0.7677 GB, free: 30.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.6771, allocations: 15.98 kB / 0.7677 GB, free: 30.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6771, allocations: 0 / 0.7677 GB, free: 30.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.6772, allocations: 8 kB / 0.7677 GB, free: 30.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.6772, allocations: 8 kB / 0.7677 GB, free: 30.39 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.000126/0.6774, allocations: 134.4 kB / 0.7679 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.6774, allocations: 16.83 kB / 0.7679 GB, free: 30.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.6778, allocations: 126.8 kB / 0.768 GB, free: 30.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.6778, allocations: 6.625 kB / 0.768 GB, free: 30.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6778, allocations: 0 / 0.768 GB, free: 30.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6778, allocations: 3.984 kB / 0.768 GB, free: 30.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.6784, allocations: 431.2 kB / 0.7684 GB, free: 29.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6785, allocations: 0 / 0.7684 GB, free: 29.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.6785, allocations: 19.09 kB / 0.7684 GB, free: 29.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6786, allocations: 0 / 0.7684 GB, free: 29.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.6786, allocations: 0 / 0.7684 GB, free: 29.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6786, allocations: 4.562 kB / 0.7685 GB, free: 29.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6787, allocations: 4.484 kB / 0.7685 GB, free: 29.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.679, allocations: 221.3 kB / 0.7687 GB, free: 29.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.6791, allocations: 104.9 kB / 0.7688 GB, free: 29.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.6791, allocations: 0 / 0.7688 GB, free: 29.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6792, allocations: 7.969 kB / 0.7688 GB, free: 29.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.6793, allocations: 11.98 kB / 0.7688 GB, free: 29.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.6793, allocations: 4 kB / 0.7688 GB, free: 29.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.6795, allocations: 177.1 kB / 0.769 GB, free: 29.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6796, allocations: 0 / 0.769 GB, free: 29.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003901/0.68, allocations: 51.92 kB / 0.769 GB, free: 29 MB / 394.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001312/0.6813, allocations: 429 kB / 0.7694 GB, free: 28.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.6817, allocations: 169.2 kB / 0.7696 GB, free: 28.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6817, allocations: 4 kB / 0.7696 GB, free: 28.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.6819, allocations: 31.92 kB / 0.7696 GB, free: 28.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.6823, allocations: 28.12 kB / 0.7696 GB, free: 28.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.683, allocations: 307.2 kB / 0.7699 GB, free: 28.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.6832, allocations: 0.7186 MB / 0.7706 GB, free: 27.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.542e-05/0.6833, allocations: 17.77 kB / 0.7707 GB, free: 27.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.6834, allocations: 15.44 kB / 0.7707 GB, free: 27.5 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6834, allocations: 0 / 0.7707 GB, free: 27.5 MB / 394.7 MB Notification: Performance of Templates: time 0.006513/0.6899, allocations: 1.847 MB / 0.7725 GB, free: 25.79 MB / 394.7 MB