Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002716/0.002722, allocations: 362.5 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.496/4.496, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003704/0.003703, allocations: 238.5 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.6228/0.6228, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005147, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5947/0.7094, allocations: 82.13 MB / 0.7603 GB, free: 3.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.7098, allocations: 86.75 kB / 0.7604 GB, free: 3.18 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.02029/0.7301, allocations: 4.646 MB / 0.7649 GB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7301, allocations: 0 / 0.7649 GB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.7302, allocations: 4 kB / 0.7649 GB, free: 15.25 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.0007732/0.731, allocations: 480 kB / 0.7654 GB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.731, allocations: 12.83 kB / 0.7654 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.7311, allocations: 11.91 kB / 0.7654 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.7315, allocations: 205.6 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.7315, allocations: 4 kB / 0.7656 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.7316, allocations: 11.31 kB / 0.7656 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.7318, allocations: 52.8 kB / 0.7657 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.7318, allocations: 4 kB / 0.7657 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.7319, allocations: 7.938 kB / 0.7657 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.7319, allocations: 0 / 0.7657 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.732, allocations: 31.05 kB / 0.7657 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.7326, allocations: 314.6 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.7329, allocations: 61.73 kB / 0.7661 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.457e-05/0.733, allocations: 27.28 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.733, allocations: 4 kB / 0.7661 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.7333, allocations: 75.69 kB / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.926e-06/0.7333, allocations: 0 / 0.7662 GB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000911/0.7342, allocations: 177.5 kB / 0.7663 GB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.7343, allocations: 59.34 kB / 0.7664 GB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.7346, allocations: 197 kB / 0.7666 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.7347, allocations: 29.7 kB / 0.7666 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.7348, allocations: 98.64 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.7348, allocations: 26.7 kB / 0.7667 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.7349, allocations: 4 kB / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.735, allocations: 322.6 kB / 0.767 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.7352, allocations: 34.3 kB / 0.7671 GB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.7354, allocations: 66.45 kB / 0.7671 GB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.7356, allocations: 75.25 kB / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7356, allocations: 0 / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005175/0.7361, allocations: 186.1 kB / 0.7674 GB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.7362, allocations: 40.44 kB / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.7362, allocations: 0 / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7363, allocations: 0 / 0.7674 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.7364, allocations: 19.98 kB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.7365, allocations: 0 / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.7366, allocations: 4 kB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.7366, allocations: 7.125 kB / 0.7675 GB, free: 12.65 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.0001755/0.7368, allocations: 136.6 kB / 0.7676 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.7368, allocations: 11.86 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.7373, allocations: 121.5 kB / 0.7677 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7373, allocations: 192 / 0.7677 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7373, allocations: 0 / 0.7677 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.7374, allocations: 7.922 kB / 0.7677 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.7381, allocations: 433.7 kB / 0.7681 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7381, allocations: 0 / 0.7681 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.7382, allocations: 15.98 kB / 0.7682 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.7383, allocations: 0 / 0.7682 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.7383, allocations: 0 / 0.7682 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.7383, allocations: 4 kB / 0.7682 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7383, allocations: 0 / 0.7682 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.7387, allocations: 214.5 kB / 0.7684 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.7389, allocations: 99.66 kB / 0.7685 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.7389, allocations: 12.05 kB / 0.7685 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.739, allocations: 0 / 0.7685 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.7391, allocations: 8 kB / 0.7685 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.7391, allocations: 7.984 kB / 0.7685 GB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.7394, allocations: 147.2 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7394, allocations: 0 / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000418/0.7398, allocations: 47.12 kB / 0.7687 GB, free: 11.43 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.001386/0.7412, allocations: 430.8 kB / 0.7691 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.7417, allocations: 174.4 kB / 0.7692 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7417, allocations: 0 / 0.7692 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.7419, allocations: 31.36 kB / 0.7693 GB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.7424, allocations: 19.94 kB / 0.7693 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000711/0.7431, allocations: 263.4 kB / 0.7695 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.7435, allocations: 0.7134 MB / 0.7702 GB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.805e-05/0.7436, allocations: 12.42 kB / 0.7703 GB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.7437, allocations: 18.44 kB / 0.7703 GB, free: 9.945 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7437, allocations: 0 / 0.7703 GB, free: 9.945 MB / 362.7 MB Notification: Performance of Templates: time 0.007281/0.751, allocations: 1.76 MB / 0.772 GB, free: 8.207 MB / 362.7 MB