Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002798/0.002802, allocations: 350.5 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.731/3.731, 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.006349/0.006349, allocations: 214.2 kB / 397.8 MB, free: 4.973 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.5165/0.5165, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007552/0.0007555, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1027, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5142, allocations: 76.08 MB / 0.681 GB, free: 36.67 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5145, allocations: 72.75 kB / 0.6811 GB, free: 36.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.5324, allocations: 4.643 MB / 0.6856 GB, free: 32.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5324, allocations: 0 / 0.6856 GB, free: 32.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.5325, allocations: 8 kB / 0.6857 GB, free: 32.03 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.0005378/0.533, allocations: 414 kB / 0.6861 GB, free: 31.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5331, allocations: 14.05 kB / 0.6861 GB, free: 31.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.5331, allocations: 7.906 kB / 0.6861 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.5334, allocations: 190.8 kB / 0.6863 GB, free: 31.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.5334, allocations: 4 kB / 0.6863 GB, free: 31.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.5335, allocations: 4 kB / 0.6863 GB, free: 31.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5336, allocations: 63.25 kB / 0.6863 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5337, allocations: 0 / 0.6863 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5337, allocations: 1.25 kB / 0.6863 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5337, allocations: 0 / 0.6863 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.5338, allocations: 12 kB / 0.6863 GB, free: 31.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.5342, allocations: 291.8 kB / 0.6866 GB, free: 30.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.5345, allocations: 50.55 kB / 0.6867 GB, free: 30.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.5345, allocations: 8.859 kB / 0.6867 GB, free: 30.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.5345, allocations: 8.516 kB / 0.6867 GB, free: 30.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.5347, allocations: 59.48 kB / 0.6867 GB, free: 30.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.5347, allocations: 3.938 kB / 0.6867 GB, free: 30.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005159/0.5352, allocations: 109.8 kB / 0.6868 GB, free: 30.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5353, allocations: 78.8 kB / 0.6869 GB, free: 30.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5354, allocations: 149.7 kB / 0.6871 GB, free: 30.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5355, allocations: 29.64 kB / 0.6871 GB, free: 30.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.5355, allocations: 96.08 kB / 0.6872 GB, free: 30.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.5356, allocations: 22.52 kB / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5356, allocations: 0 / 0.6872 GB, free: 30.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.5357, allocations: 314.8 kB / 0.6875 GB, free: 29.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.5357, allocations: 23.98 kB / 0.6875 GB, free: 29.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.5358, allocations: 33.7 kB / 0.6876 GB, free: 29.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.5359, allocations: 51.11 kB / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5359, allocations: 0 / 0.6876 GB, free: 29.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002266/0.5362, allocations: 123.3 kB / 0.6877 GB, free: 29.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.5362, allocations: 32.36 kB / 0.6878 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5362, allocations: 0 / 0.6878 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5363, allocations: 4 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.5363, allocations: 11.12 kB / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5364, allocations: 0 / 0.6878 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.5364, allocations: 7.938 kB / 0.6878 GB, free: 29.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.5365, allocations: 8 kB / 0.6878 GB, free: 29.62 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.011e-05/0.5366, allocations: 122.3 kB / 0.6879 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.5366, allocations: 3.906 kB / 0.6879 GB, free: 29.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.5369, allocations: 85.58 kB / 0.688 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5369, allocations: 0 / 0.688 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5369, allocations: 8 kB / 0.688 GB, free: 29.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5369, allocations: 3.984 kB / 0.688 GB, free: 29.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.5373, allocations: 346.4 kB / 0.6883 GB, free: 29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5373, allocations: 3.938 kB / 0.6883 GB, free: 29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.5374, allocations: 7.984 kB / 0.6883 GB, free: 28.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5374, allocations: 3.188 kB / 0.6883 GB, free: 28.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5374, allocations: 8 kB / 0.6884 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5374, allocations: 0 / 0.6884 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5374, allocations: 3.953 kB / 0.6884 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.5376, allocations: 177.4 kB / 0.6885 GB, free: 28.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.5377, allocations: 77.11 kB / 0.6886 GB, free: 28.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.5377, allocations: 11.03 kB / 0.6886 GB, free: 28.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.5378, allocations: 0 / 0.6886 GB, free: 28.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.5379, allocations: 7.984 kB / 0.6886 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5379, allocations: 3.953 kB / 0.6886 GB, free: 28.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.411e-05/0.538, allocations: 115.3 kB / 0.6887 GB, free: 28.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.292e-06/0.538, allocations: 2.812 kB / 0.6887 GB, free: 28.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.5384, allocations: 55.86 kB / 0.6888 GB, free: 28.52 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.001247/0.5397, allocations: 434 kB / 0.6892 GB, free: 28.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.54, allocations: 103.4 kB / 0.6893 GB, free: 28.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.54, allocations: 0 / 0.6893 GB, free: 28.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.5401, allocations: 23.92 kB / 0.6893 GB, free: 28.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.5405, allocations: 16.67 kB / 0.6893 GB, free: 28.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.541, allocations: 174.2 kB / 0.6895 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.5412, allocations: 0.6952 MB / 0.6902 GB, free: 27.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.578e-05/0.5413, allocations: 14.64 kB / 0.6902 GB, free: 27.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.5413, allocations: 11.44 kB / 0.6902 GB, free: 27.24 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5413, allocations: 0 / 0.6902 GB, free: 27.24 MB / 362.7 MB Notification: Performance of Templates: time 0.006046/0.5474, allocations: 1.769 MB / 0.6919 GB, free: 25.61 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.verboseRead,t_new.y[1],time