Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002861/0.002866, allocations: 347 kB / 15.94 MB, free: 6.223 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 4.047/4.047, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003833/0.003832, allocations: 218.2 kB / 397.9 MB, free: 4.965 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.6276/0.6276, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005141, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09559, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.5758, allocations: 75.86 MB / 0.6808 GB, free: 36.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/0.5762, allocations: 79.95 kB / 0.6809 GB, free: 36.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02757/0.6039, allocations: 4.027 MB / 0.6848 GB, free: 32.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.6039, allocations: 0 / 0.6848 GB, free: 32.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.604, allocations: 0 / 0.6848 GB, free: 32.86 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.0008209/0.6048, allocations: 437.8 kB / 0.6853 GB, free: 32.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6049, allocations: 8.031 kB / 0.6853 GB, free: 32.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.605, allocations: 11.89 kB / 0.6853 GB, free: 32.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.6054, allocations: 198.8 kB / 0.6855 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.6054, allocations: 2.031 kB / 0.6855 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.6055, allocations: 5.781 kB / 0.6855 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6057, allocations: 41.69 kB / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6057, allocations: 0 / 0.6855 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.6058, allocations: 4 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.6058, allocations: 0.875 kB / 0.6855 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.6059, allocations: 11.98 kB / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.6066, allocations: 295.9 kB / 0.6858 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.607, allocations: 46.5 kB / 0.6859 GB, free: 31.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.6071, allocations: 12.86 kB / 0.6859 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.6072, allocations: 4 kB / 0.6859 GB, free: 31.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.6074, allocations: 60.86 kB / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 5.47e-06/0.6074, allocations: 0 / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007947/0.6082, allocations: 125.2 kB / 0.686 GB, free: 31.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.6083, allocations: 55.41 kB / 0.6861 GB, free: 31.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.6087, allocations: 179 kB / 0.6863 GB, free: 31.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.6087, allocations: 29.7 kB / 0.6863 GB, free: 31.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.6088, allocations: 96.12 kB / 0.6864 GB, free: 31.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.6089, allocations: 15.8 kB / 0.6864 GB, free: 31.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.6089, allocations: 4 kB / 0.6864 GB, free: 31.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.609, allocations: 318.8 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.6092, allocations: 23.98 kB / 0.6867 GB, free: 30.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.6093, allocations: 31.83 kB / 0.6868 GB, free: 30.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.6095, allocations: 60.52 kB / 0.6868 GB, free: 30.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6095, allocations: 0 / 0.6868 GB, free: 30.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004533/0.61, allocations: 133.8 kB / 0.687 GB, free: 30.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.6101, allocations: 37.64 kB / 0.687 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6101, allocations: 0 / 0.687 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.6101, allocations: 0 / 0.687 GB, free: 30.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.6103, allocations: 8 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.6103, allocations: 7.938 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.6105, allocations: 4.562 kB / 0.687 GB, free: 30.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.6105, allocations: 7.344 kB / 0.687 GB, free: 30.42 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 0.0001709/0.6107, allocations: 123.9 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.6108, allocations: 7.906 kB / 0.6871 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.6112, allocations: 93.91 kB / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6113, allocations: 0 / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6113, allocations: 4 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6113, allocations: 3.953 kB / 0.6872 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.612, allocations: 349.7 kB / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.612, allocations: 0 / 0.6876 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.6122, allocations: 8.75 kB / 0.6876 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.6122, allocations: 0 / 0.6876 GB, free: 29.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.6122, allocations: 3.984 kB / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.6123, allocations: 3.953 kB / 0.6876 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6123, allocations: 7.938 kB / 0.6876 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.6127, allocations: 176.2 kB / 0.6878 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.6128, allocations: 93 kB / 0.6878 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.6128, allocations: 0 / 0.6878 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.613, allocations: 3.938 kB / 0.6879 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.6131, allocations: 11.95 kB / 0.6879 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.6132, allocations: 7.984 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.6134, allocations: 123.8 kB / 0.688 GB, free: 29.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6134, allocations: 0 / 0.688 GB, free: 29.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.614, allocations: 32 kB / 0.688 GB, free: 29.3 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.001572/0.6157, allocations: 363.7 kB / 0.6884 GB, free: 29.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.6162, allocations: 107.3 kB / 0.6885 GB, free: 29.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6162, allocations: 1.719 kB / 0.6885 GB, free: 29.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.6163, allocations: 22.42 kB / 0.6885 GB, free: 28.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.617, allocations: 15.98 kB / 0.6885 GB, free: 28.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.6179, allocations: 210.7 kB / 0.6887 GB, free: 28.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.6181, allocations: 0.7014 MB / 0.6894 GB, free: 28.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.748e-05/0.6183, allocations: 8 kB / 0.6894 GB, free: 28.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.6184, allocations: 16.73 kB / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6184, allocations: 0 / 0.6894 GB, free: 28 MB / 362.7 MB Notification: Performance of Templates: time 0.009064/0.6275, allocations: 1.508 MB / 0.6909 GB, free: 26.63 MB / 362.7 MB