Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004/0.004004, 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.882/3.882, 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.004992/0.004994, allocations: 214.2 kB / 397.8 MB, free: 4.977 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.5806/0.5806, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006834, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1177, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.5943, allocations: 75.87 MB / 0.6808 GB, free: 36.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5946, allocations: 82.2 kB / 0.6809 GB, free: 36.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01617/0.6108, allocations: 4.197 MB / 0.685 GB, free: 32.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6108, allocations: 0 / 0.685 GB, free: 32.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.6108, allocations: 7.938 kB / 0.685 GB, free: 32.69 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.0005082/0.6114, allocations: 441.5 kB / 0.6854 GB, free: 32.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6114, allocations: 8.031 kB / 0.6854 GB, free: 32.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.6115, allocations: 15.89 kB / 0.6855 GB, free: 32.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.6117, allocations: 207.7 kB / 0.6857 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.6118, allocations: 0 / 0.6857 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.6118, allocations: 4 kB / 0.6857 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.6119, allocations: 41.69 kB / 0.6857 GB, free: 31.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.6119, allocations: 0 / 0.6857 GB, free: 31.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.612, allocations: 4.672 kB / 0.6857 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.612, allocations: 7.938 kB / 0.6857 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.204e-05/0.6121, allocations: 15 kB / 0.6857 GB, free: 31.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.6125, allocations: 296.9 kB / 0.686 GB, free: 31.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.6127, allocations: 42.56 kB / 0.686 GB, free: 31.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.6128, allocations: 19.62 kB / 0.6861 GB, free: 31.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.6128, allocations: 3.938 kB / 0.6861 GB, free: 31.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.6129, allocations: 63.05 kB / 0.6861 GB, free: 31.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.6129, allocations: 6.438 kB / 0.6861 GB, free: 31.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004728/0.6134, allocations: 121.3 kB / 0.6863 GB, free: 31.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.6135, allocations: 54.06 kB / 0.6863 GB, free: 31.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.6137, allocations: 212.4 kB / 0.6865 GB, free: 30.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.6138, allocations: 29.7 kB / 0.6865 GB, free: 30.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.6138, allocations: 108 kB / 0.6866 GB, free: 30.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.6139, allocations: 11.89 kB / 0.6866 GB, free: 30.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.6139, allocations: 4 kB / 0.6867 GB, free: 30.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.614, allocations: 325.2 kB / 0.687 GB, free: 30.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.6141, allocations: 23.98 kB / 0.687 GB, free: 30.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.6141, allocations: 19.98 kB / 0.687 GB, free: 30.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.6142, allocations: 53.64 kB / 0.6871 GB, free: 30.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6142, allocations: 0 / 0.6871 GB, free: 30.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002486/0.6145, allocations: 144.6 kB / 0.6872 GB, free: 30.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.6146, allocations: 33.7 kB / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6146, allocations: 0 / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6146, allocations: 0 / 0.6872 GB, free: 30.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.6147, allocations: 15.17 kB / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6147, allocations: 0 / 0.6872 GB, free: 30.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.6148, allocations: 11.7 kB / 0.6873 GB, free: 30.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.6148, allocations: 4 kB / 0.6873 GB, free: 30.18 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.859e-05/0.6149, allocations: 131.8 kB / 0.6874 GB, free: 30.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.615, allocations: 11.91 kB / 0.6874 GB, free: 30.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.6152, allocations: 92.36 kB / 0.6875 GB, free: 29.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6152, allocations: 1.5 kB / 0.6875 GB, free: 29.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6152, allocations: 4 kB / 0.6875 GB, free: 29.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6153, allocations: 0 / 0.6875 GB, free: 29.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.6157, allocations: 366.5 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6157, allocations: 0 / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.6158, allocations: 8.766 kB / 0.6878 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6158, allocations: 4 kB / 0.6878 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.6158, allocations: 3.469 kB / 0.6879 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6158, allocations: 0 / 0.6879 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6158, allocations: 3.953 kB / 0.6879 GB, free: 29.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.616, allocations: 175.3 kB / 0.688 GB, free: 29.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.6161, allocations: 100.9 kB / 0.6881 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.6161, allocations: 2.531 kB / 0.6881 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.6162, allocations: 4 kB / 0.6881 GB, free: 29.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.6163, allocations: 9.578 kB / 0.6881 GB, free: 29.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.6163, allocations: 11.7 kB / 0.6881 GB, free: 29.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.6165, allocations: 154.8 kB / 0.6883 GB, free: 29.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6165, allocations: 1.156 kB / 0.6883 GB, free: 29.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00037/0.6169, allocations: 39.98 kB / 0.6883 GB, free: 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.0009774/0.6178, allocations: 349.6 kB / 0.6887 GB, free: 28.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.6181, allocations: 115.4 kB / 0.6888 GB, free: 28.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6181, allocations: 4.469 kB / 0.6888 GB, free: 28.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.027e-05/0.6182, allocations: 19.94 kB / 0.6888 GB, free: 28.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.6186, allocations: 21.62 kB / 0.6888 GB, free: 28.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.6192, allocations: 238.6 kB / 0.689 GB, free: 28.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.6194, allocations: 0.7127 MB / 0.6897 GB, free: 27.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.6195, allocations: 14.12 kB / 0.6898 GB, free: 27.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.6195, allocations: 11.44 kB / 0.6898 GB, free: 27.65 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6195, allocations: 0 / 0.6898 GB, free: 27.65 MB / 362.7 MB Notification: Performance of Templates: time 0.005692/0.6252, allocations: 1.576 MB / 0.6913 GB, free: 26.21 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