Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00277/0.002774, allocations: 367.6 kB / 15.95 MB, free: 6.191 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.332/4.332, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.005756/0.005755, allocations: 227.1 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.7152/0.7152, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006716/0.0006722, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1371, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5619/0.6991, allocations: 82.11 MB / 0.7603 GB, free: 3.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.6994, allocations: 77.78 kB / 0.7604 GB, free: 3.227 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.01909/0.7185, allocations: 4.528 MB / 0.7648 GB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7186, allocations: 0 / 0.7648 GB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.7186, allocations: 7 kB / 0.7648 GB, free: 15.4 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.000839/0.7195, allocations: 487.4 kB / 0.7652 GB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.7196, allocations: 8.828 kB / 0.7653 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.7196, allocations: 11.91 kB / 0.7653 GB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.7201, allocations: 201.3 kB / 0.7655 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.7201, allocations: 4 kB / 0.7655 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.7202, allocations: 4 kB / 0.7655 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.7204, allocations: 54.8 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.7204, allocations: 4 kB / 0.7655 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.7205, allocations: 11.94 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7205, allocations: 3.938 kB / 0.7655 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.7206, allocations: 26.8 kB / 0.7656 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.7213, allocations: 311.3 kB / 0.7659 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.7216, allocations: 62.3 kB / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.7217, allocations: 32.59 kB / 0.7659 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.7217, allocations: 0 / 0.7659 GB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.722, allocations: 67.5 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.722, allocations: 0 / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009153/0.7229, allocations: 181.7 kB / 0.7662 GB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.723, allocations: 55.41 kB / 0.7662 GB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.7233, allocations: 200.7 kB / 0.7664 GB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.7234, allocations: 37.2 kB / 0.7665 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.7235, allocations: 94.2 kB / 0.7666 GB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.7235, allocations: 27.19 kB / 0.7666 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.7236, allocations: 4 kB / 0.7666 GB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7237, allocations: 322.5 kB / 0.7669 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.7239, allocations: 35.05 kB / 0.7669 GB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.7241, allocations: 66.89 kB / 0.767 GB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.7243, allocations: 73.19 kB / 0.7671 GB, free: 13.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7243, allocations: 0 / 0.7671 GB, free: 13.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005031/0.7248, allocations: 182.4 kB / 0.7672 GB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.082e-05/0.7249, allocations: 41.44 kB / 0.7673 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7249, allocations: 0 / 0.7673 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7249, allocations: 0 / 0.7673 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.7251, allocations: 19.92 kB / 0.7673 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7251, allocations: 4 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.7252, allocations: 8.031 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.7253, allocations: 7.062 kB / 0.7673 GB, free: 12.79 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.0001588/0.7254, allocations: 132.7 kB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.7255, allocations: 11.86 kB / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.7259, allocations: 121.4 kB / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7259, allocations: 0 / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7259, allocations: 0 / 0.7676 GB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7259, allocations: 4 kB / 0.7676 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.7267, allocations: 423.2 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7267, allocations: 0 / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.7268, allocations: 11.98 kB / 0.768 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.7268, allocations: 4 kB / 0.768 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.7268, allocations: 3.188 kB / 0.768 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7268, allocations: 80 / 0.768 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/0.7269, allocations: 11.92 kB / 0.768 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.7273, allocations: 208.3 kB / 0.7682 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.7274, allocations: 100.2 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.7274, allocations: 15.86 kB / 0.7683 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.7276, allocations: 4 kB / 0.7683 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.7276, allocations: 11.98 kB / 0.7683 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.7277, allocations: 11.61 kB / 0.7683 GB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.7279, allocations: 147 kB / 0.7685 GB, free: 11.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7279, allocations: 0 / 0.7685 GB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.7283, allocations: 43.31 kB / 0.7685 GB, free: 11.57 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.001383/0.7297, allocations: 429.5 kB / 0.7689 GB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.7302, allocations: 168.2 kB / 0.7691 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7302, allocations: 0 / 0.7691 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.7303, allocations: 43.11 kB / 0.7691 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.7308, allocations: 22.62 kB / 0.7692 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000707/0.7315, allocations: 253.1 kB / 0.7694 GB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.7319, allocations: 0.7056 MB / 0.7701 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.839e-05/0.732, allocations: 20.23 kB / 0.7701 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.7321, allocations: 15.44 kB / 0.7701 GB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.7321, allocations: 0 / 0.7701 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006763/0.7389, allocations: 1.76 MB / 0.7718 GB, free: 8.363 MB / 362.7 MB