Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002752/0.002756, allocations: 359.4 kB / 15.95 MB, free: 6.203 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.511/4.511, allocations: 388.9 MB / 405.6 MB, free: 9.562 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.0037/0.0037, allocations: 223.6 kB / 451 MB, free: 145 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.6699/0.6699, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006997/0.0007001, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1367, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.6159, allocations: 82.11 MB / 0.7603 GB, free: 3.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.6162, allocations: 78.33 kB / 0.7604 GB, free: 3.242 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.02044/0.6367, allocations: 4.6 MB / 0.7648 GB, free: 15.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6367, allocations: 0 / 0.7648 GB, free: 15.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.6368, allocations: 4 kB / 0.7648 GB, free: 15.34 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.0007201/0.6375, allocations: 485.7 kB / 0.7653 GB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.6376, allocations: 12.83 kB / 0.7653 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.6376, allocations: 7.906 kB / 0.7653 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.6381, allocations: 217.7 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.6381, allocations: 4 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.6381, allocations: 7.984 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.6384, allocations: 59.86 kB / 0.7656 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.6384, allocations: 3.938 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.6384, allocations: 3.953 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6385, allocations: 4 kB / 0.7656 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.6386, allocations: 23.86 kB / 0.7656 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.6392, allocations: 320.9 kB / 0.7659 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.6394, allocations: 60.42 kB / 0.766 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.6395, allocations: 24.22 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.6396, allocations: 0 / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.6398, allocations: 85.42 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.6398, allocations: 0 / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008621/0.6407, allocations: 183 kB / 0.7663 GB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.6408, allocations: 54.47 kB / 0.7663 GB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.6411, allocations: 203 kB / 0.7665 GB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.6412, allocations: 33.02 kB / 0.7666 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.6412, allocations: 93.95 kB / 0.7666 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.6413, allocations: 27.45 kB / 0.7667 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.6413, allocations: 11 kB / 0.7667 GB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6415, allocations: 323.9 kB / 0.767 GB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6416, allocations: 38.17 kB / 0.767 GB, free: 13.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.6418, allocations: 51.56 kB / 0.7671 GB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.642, allocations: 74.56 kB / 0.7672 GB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.642, allocations: 0 / 0.7672 GB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004959/0.6425, allocations: 190.7 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.6426, allocations: 37.69 kB / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6426, allocations: 0 / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6426, allocations: 0 / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6428, allocations: 19.98 kB / 0.7674 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6428, allocations: 3.938 kB / 0.7674 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.6429, allocations: 7.562 kB / 0.7674 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.643, allocations: 4 kB / 0.7674 GB, free: 12.73 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.0001699/0.6432, allocations: 132.5 kB / 0.7675 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.6432, allocations: 19.8 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.6436, allocations: 120.2 kB / 0.7677 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.6437, allocations: 7.938 kB / 0.7677 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6437, allocations: 0 / 0.7677 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6437, allocations: 0 / 0.7677 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.6445, allocations: 418.4 kB / 0.7681 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.6445, allocations: 7.984 kB / 0.7681 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.6446, allocations: 12.41 kB / 0.7681 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.6446, allocations: 0 / 0.7681 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.6446, allocations: 5.375 kB / 0.7681 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.6446, allocations: 4 kB / 0.7681 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6446, allocations: 0 / 0.7681 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.6451, allocations: 221.7 kB / 0.7683 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.6452, allocations: 108.8 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.6452, allocations: 1.688 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.6454, allocations: 4.875 kB / 0.7684 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.6454, allocations: 9.109 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6454, allocations: 4.562 kB / 0.7684 GB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.6457, allocations: 156.4 kB / 0.7686 GB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6457, allocations: 0 / 0.7686 GB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.6461, allocations: 43.86 kB / 0.7686 GB, free: 11.49 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.001446/0.6476, allocations: 446.5 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.6481, allocations: 166.2 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6481, allocations: 4 kB / 0.7692 GB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.6482, allocations: 42.03 kB / 0.7693 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.6487, allocations: 27.06 kB / 0.7693 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.6495, allocations: 263 kB / 0.7695 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.6499, allocations: 0.717 MB / 0.7702 GB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.637e-05/0.65, allocations: 16.58 kB / 0.7702 GB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.6501, allocations: 15.44 kB / 0.7703 GB, free: 9.977 MB / 362.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6501, allocations: 0 / 0.7703 GB, free: 9.977 MB / 362.7 MB Notification: Performance of Templates: time 0.007003/0.6571, allocations: 1.77 MB / 0.772 GB, free: 8.227 MB / 362.7 MB