Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002794/0.002793, allocations: 349.5 kB / 15.94 MB, free: 6.219 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.848/3.848, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003583/0.003583, allocations: 222.1 kB / 397.9 MB, free: 4.895 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.5641/0.5641, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006563/0.0006566, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1177, allocations: 48.71 MB / 0.6067 GB, free: 4.625 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.5162, allocations: 75.86 MB / 0.6808 GB, free: 36.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5166, allocations: 75.95 kB / 0.6809 GB, free: 36.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.5328, allocations: 4.208 MB / 0.685 GB, free: 32.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5329, allocations: 3.938 kB / 0.685 GB, free: 32.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.5329, allocations: 0 / 0.685 GB, free: 32.66 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.0004917/0.5334, allocations: 445.7 kB / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5335, allocations: 8.031 kB / 0.6854 GB, free: 32.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.5335, allocations: 7.906 kB / 0.6854 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.5338, allocations: 207.4 kB / 0.6856 GB, free: 31.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5338, allocations: 7.719 kB / 0.6857 GB, free: 31.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.5339, allocations: 4 kB / 0.6857 GB, free: 31.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.534, allocations: 41.69 kB / 0.6857 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.534, allocations: 0 / 0.6857 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.534, allocations: 7.938 kB / 0.6857 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.534, allocations: 0 / 0.6857 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.5341, allocations: 11.98 kB / 0.6857 GB, free: 31.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.5345, allocations: 304.9 kB / 0.686 GB, free: 31.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.5347, allocations: 41.84 kB / 0.686 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.5348, allocations: 16.94 kB / 0.6861 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.5348, allocations: 3.938 kB / 0.6861 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.535, allocations: 59.31 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.535, allocations: 2.969 kB / 0.6861 GB, free: 31.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004587/0.5354, allocations: 125.2 kB / 0.6862 GB, free: 31.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.5355, allocations: 55.41 kB / 0.6863 GB, free: 31.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.5357, allocations: 212.4 kB / 0.6865 GB, free: 30.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.5358, allocations: 29.7 kB / 0.6865 GB, free: 30.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.5358, allocations: 105.5 kB / 0.6866 GB, free: 30.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.5359, allocations: 11.31 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.5359, allocations: 4 kB / 0.6866 GB, free: 30.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.536, allocations: 322.8 kB / 0.687 GB, free: 30.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.5361, allocations: 23.98 kB / 0.687 GB, free: 30.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.5361, allocations: 20 kB / 0.687 GB, free: 30.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.5362, allocations: 57.62 kB / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5363, allocations: 3.75 kB / 0.6871 GB, free: 30.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002479/0.5365, allocations: 143.1 kB / 0.6872 GB, free: 30.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.5366, allocations: 32.7 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5366, allocations: 0 / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5366, allocations: 0 / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.5367, allocations: 10.44 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.5367, allocations: 2.5 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.5368, allocations: 11.94 kB / 0.6872 GB, free: 30.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.5368, allocations: 4 kB / 0.6872 GB, free: 30.15 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.0001082/0.5369, allocations: 135.3 kB / 0.6874 GB, free: 30.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.537, allocations: 11.89 kB / 0.6874 GB, free: 30 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.5372, allocations: 92.92 kB / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5372, allocations: 0 / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5373, allocations: 0 / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5373, allocations: 0 / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003947/0.5377, allocations: 367.2 kB / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5377, allocations: 0 / 0.6878 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.5378, allocations: 10.97 kB / 0.6878 GB, free: 29.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5378, allocations: 0 / 0.6878 GB, free: 29.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5378, allocations: 7.109 kB / 0.6878 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5378, allocations: 4 kB / 0.6878 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5378, allocations: 3.953 kB / 0.6878 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.538, allocations: 182.6 kB / 0.688 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.5381, allocations: 96.94 kB / 0.6881 GB, free: 29.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.5381, allocations: 0 / 0.6881 GB, free: 29.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.5382, allocations: 0 / 0.6881 GB, free: 29.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.5383, allocations: 8 kB / 0.6881 GB, free: 29.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.5383, allocations: 11.94 kB / 0.6881 GB, free: 29.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.5385, allocations: 147.9 kB / 0.6883 GB, free: 29.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5385, allocations: 0 / 0.6883 GB, free: 29.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.5389, allocations: 43.09 kB / 0.6883 GB, free: 28.97 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.001033/0.5399, allocations: 359.1 kB / 0.6887 GB, free: 28.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.5401, allocations: 112.2 kB / 0.6888 GB, free: 28.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5402, allocations: 3.938 kB / 0.6888 GB, free: 28.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.264e-05/0.5403, allocations: 23.98 kB / 0.6888 GB, free: 28.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.5407, allocations: 19.11 kB / 0.6888 GB, free: 28.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.5412, allocations: 234.9 kB / 0.689 GB, free: 28.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.5414, allocations: 0.716 MB / 0.6897 GB, free: 27.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.5415, allocations: 13.25 kB / 0.6897 GB, free: 27.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.5415, allocations: 16.56 kB / 0.6898 GB, free: 27.62 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5415, allocations: 0 / 0.6898 GB, free: 27.62 MB / 362.7 MB Notification: Performance of Templates: time 0.005585/0.5471, allocations: 1.579 MB / 0.6913 GB, free: 26.19 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.verboseRead,t_new.y[1],time