Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002847/0.002852, allocations: 359 kB / 15.95 MB, free: 6.195 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.237/4.237, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003632/0.003632, allocations: 244.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5892/0.5892, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006404, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1164, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5277/0.6441, allocations: 82.14 MB / 0.7603 GB, free: 3.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.6445, allocations: 77.78 kB / 0.7604 GB, free: 3.141 MB / 346.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.02015/0.6646, allocations: 4.791 MB / 0.7651 GB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.6647, allocations: 0 / 0.7651 GB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.6647, allocations: 4 kB / 0.7651 GB, free: 15.08 MB / 362.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.0007414/0.6655, allocations: 496 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6655, allocations: 8.828 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.6656, allocations: 11.81 kB / 0.7656 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.666, allocations: 217.1 kB / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.666, allocations: 0 / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.6661, allocations: 7.375 kB / 0.7658 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.6663, allocations: 59.41 kB / 0.7658 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.6663, allocations: 0 / 0.7658 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.6663, allocations: 7.453 kB / 0.7658 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6663, allocations: 0 / 0.7658 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.6665, allocations: 27.55 kB / 0.7659 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.667, allocations: 320.7 kB / 0.7662 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.6673, allocations: 54.25 kB / 0.7662 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.498e-05/0.6674, allocations: 28.03 kB / 0.7662 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.6674, allocations: 4 kB / 0.7662 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.6677, allocations: 78.86 kB / 0.7663 GB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.6677, allocations: 0 / 0.7663 GB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008255/0.6685, allocations: 190.2 kB / 0.7665 GB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.6686, allocations: 55.34 kB / 0.7666 GB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.669, allocations: 216 kB / 0.7668 GB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.669, allocations: 33.7 kB / 0.7668 GB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.6691, allocations: 109.2 kB / 0.7669 GB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.6692, allocations: 23.59 kB / 0.7669 GB, free: 13.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.6692, allocations: 4 kB / 0.7669 GB, free: 13.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.6694, allocations: 329.3 kB / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.6696, allocations: 30.23 kB / 0.7673 GB, free: 12.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.6697, allocations: 58.8 kB / 0.7673 GB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.6699, allocations: 78.25 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.67, allocations: 0 / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005241/0.6705, allocations: 184.4 kB / 0.7676 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.6706, allocations: 33.7 kB / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6706, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6706, allocations: 0 / 0.7676 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.6708, allocations: 23.92 kB / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6708, allocations: 0 / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.6709, allocations: 7.375 kB / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.671, allocations: 11.97 kB / 0.7676 GB, free: 12.44 MB / 362.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.0001877/0.6711, allocations: 136.6 kB / 0.7678 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.6712, allocations: 15.77 kB / 0.7678 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/0.6717, allocations: 127 kB / 0.7679 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6717, allocations: 0 / 0.7679 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.6717, allocations: 0 / 0.7679 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6717, allocations: 0 / 0.7679 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.6725, allocations: 431.5 kB / 0.7683 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6725, allocations: 4 kB / 0.7683 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.6726, allocations: 11.98 kB / 0.7683 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6726, allocations: 0 / 0.7683 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.6727, allocations: 4 kB / 0.7683 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.6727, allocations: 384 / 0.7683 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6727, allocations: 0 / 0.7683 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.6732, allocations: 222.6 kB / 0.7686 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.6734, allocations: 104.1 kB / 0.7687 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.6735, allocations: 7.875 kB / 0.7687 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.6736, allocations: 4 kB / 0.7687 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.6737, allocations: 11.92 kB / 0.7687 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6737, allocations: 4 kB / 0.7687 GB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.674, allocations: 163.3 kB / 0.7688 GB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.674, allocations: 0 / 0.7688 GB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.6744, allocations: 51.72 kB / 0.7689 GB, free: 11.18 MB / 362.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.001496/0.6759, allocations: 431.9 kB / 0.7693 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.6765, allocations: 168.5 kB / 0.7695 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6766, allocations: 0 / 0.7695 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.6767, allocations: 34.92 kB / 0.7695 GB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.6772, allocations: 38.34 kB / 0.7695 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008073/0.678, allocations: 279 kB / 0.7698 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.6784, allocations: 0.7121 MB / 0.7705 GB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.6786, allocations: 24.06 kB / 0.7705 GB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.6786, allocations: 15.44 kB / 0.7705 GB, free: 9.676 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6787, allocations: 0 / 0.7705 GB, free: 9.676 MB / 362.7 MB Notification: Performance of Templates: time 0.007557/0.6862, allocations: 1.806 MB / 0.7723 GB, free: 7.898 MB / 362.7 MB