Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002846/0.002851, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.755/3.755, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003699/0.003698, allocations: 210.1 kB / 397.9 MB, free: 4.961 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5484/0.5484, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004788, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 48.71 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5227, allocations: 75.86 MB / 0.6808 GB, free: 36.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.523, allocations: 75.52 kB / 0.6809 GB, free: 36.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.5393, allocations: 4.034 MB / 0.6848 GB, free: 32.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5393, allocations: 0 / 0.6848 GB, free: 32.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.5394, allocations: 6.094 kB / 0.6848 GB, free: 32.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004969/0.5399, allocations: 425.8 kB / 0.6853 GB, free: 32.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5399, allocations: 8.031 kB / 0.6853 GB, free: 32.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.54, allocations: 11.91 kB / 0.6853 GB, free: 32.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.5402, allocations: 204.3 kB / 0.6855 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5403, allocations: 0 / 0.6855 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.5403, allocations: 4 kB / 0.6855 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5404, allocations: 48.45 kB / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5405, allocations: 0 / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5405, allocations: 0 / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5405, allocations: 4 kB / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-05/0.5406, allocations: 15.98 kB / 0.6855 GB, free: 32.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.541, allocations: 288.9 kB / 0.6858 GB, free: 31.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.5412, allocations: 53.2 kB / 0.6859 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.5413, allocations: 12.86 kB / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.5413, allocations: 0 / 0.6859 GB, free: 31.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.5415, allocations: 64.92 kB / 0.6859 GB, free: 31.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5415, allocations: 0 / 0.6859 GB, free: 31.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005131/0.542, allocations: 125.2 kB / 0.6861 GB, free: 31.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.5421, allocations: 55.39 kB / 0.6861 GB, free: 31.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.5423, allocations: 172.7 kB / 0.6863 GB, free: 31.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5423, allocations: 33.7 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.5424, allocations: 96.12 kB / 0.6864 GB, free: 31.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.5424, allocations: 11.81 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.5424, allocations: 4 kB / 0.6864 GB, free: 31.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.5425, allocations: 322.8 kB / 0.6867 GB, free: 30.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.5426, allocations: 22.34 kB / 0.6867 GB, free: 30.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.5427, allocations: 23.98 kB / 0.6868 GB, free: 30.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.5428, allocations: 57.62 kB / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5428, allocations: 0 / 0.6868 GB, free: 30.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002522/0.543, allocations: 131.2 kB / 0.6869 GB, free: 30.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.5431, allocations: 38.28 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5431, allocations: 0 / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5431, allocations: 7.188 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.5432, allocations: 4 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.5433, allocations: 7.953 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.5433, allocations: 0 / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.5434, allocations: 7.984 kB / 0.687 GB, free: 30.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 9.145e-05/0.5435, allocations: 119.9 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.5435, allocations: 7.906 kB / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.5437, allocations: 97.23 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5438, allocations: 5.5 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5438, allocations: 3.984 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5438, allocations: 3.953 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.5442, allocations: 356.2 kB / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5442, allocations: 0 / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.5443, allocations: 8 kB / 0.6876 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5443, allocations: 0 / 0.6876 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5443, allocations: 4 kB / 0.6876 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5443, allocations: 10.92 kB / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.5443, allocations: 0 / 0.6876 GB, free: 29.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.5445, allocations: 171.4 kB / 0.6878 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.5446, allocations: 89.02 kB / 0.6878 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.5446, allocations: 0 / 0.6878 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.5447, allocations: 8.953 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.5448, allocations: 3.953 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5448, allocations: 6.625 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.5449, allocations: 137.8 kB / 0.688 GB, free: 29.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5449, allocations: 0 / 0.688 GB, free: 29.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.5453, allocations: 32 kB / 0.688 GB, free: 29.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00106/0.5464, allocations: 357.8 kB / 0.6884 GB, free: 29.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.5467, allocations: 111.4 kB / 0.6885 GB, free: 28.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5467, allocations: 4.375 kB / 0.6885 GB, free: 28.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.5468, allocations: 23.98 kB / 0.6885 GB, free: 28.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.5472, allocations: 13.97 kB / 0.6885 GB, free: 28.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.5478, allocations: 203.1 kB / 0.6887 GB, free: 28.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.548, allocations: 0.7082 MB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.548, allocations: 14.44 kB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.5481, allocations: 15.44 kB / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5481, allocations: 0 / 0.6894 GB, free: 27.98 MB / 362.7 MB Notification: Performance of Templates: time 0.005535/0.5536, allocations: 1.506 MB / 0.6909 GB, free: 26.61 MB / 362.7 MB