Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002672/0.002677, allocations: 358 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.116/4.116, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003804/0.003803, allocations: 225.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.824/0.824, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006393, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1025, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5413/0.6439, allocations: 82.15 MB / 0.7603 GB, free: 3.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.6443, allocations: 78.41 kB / 0.7604 GB, free: 3.125 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.671, allocations: 4.879 MB / 0.7652 GB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6711, allocations: 0 / 0.7652 GB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.6711, allocations: 4 kB / 0.7652 GB, free: 14.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001153/0.6723, allocations: 0.4924 MB / 0.7656 GB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.6724, allocations: 8.828 kB / 0.7656 GB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.6725, allocations: 15.81 kB / 0.7657 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.6731, allocations: 221.2 kB / 0.7659 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.6732, allocations: 4 kB / 0.7659 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.6733, allocations: 4 kB / 0.7659 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.6735, allocations: 54.98 kB / 0.7659 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.6736, allocations: 0 / 0.7659 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.6736, allocations: 11.95 kB / 0.7659 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6736, allocations: 0 / 0.7659 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.6738, allocations: 30.66 kB / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.6747, allocations: 328.4 kB / 0.7663 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.6751, allocations: 60.11 kB / 0.7663 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.6752, allocations: 24.48 kB / 0.7664 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.6753, allocations: 7.984 kB / 0.7664 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.6756, allocations: 78.42 kB / 0.7664 GB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.717e-06/0.6756, allocations: 0 / 0.7664 GB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001228/0.6768, allocations: 189.8 kB / 0.7666 GB, free: 13.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.677, allocations: 55.34 kB / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/0.6777, allocations: 248.7 kB / 0.7669 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.6778, allocations: 29.7 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.678, allocations: 115.9 kB / 0.7671 GB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.6781, allocations: 23.3 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.6781, allocations: 0 / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6783, allocations: 325.8 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.6786, allocations: 41.67 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.6789, allocations: 56.69 kB / 0.7675 GB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.6791, allocations: 77.38 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6792, allocations: 0 / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000692/0.6799, allocations: 190.6 kB / 0.7677 GB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/0.68, allocations: 37.14 kB / 0.7678 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.68, allocations: 0 / 0.7678 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.6801, allocations: 0 / 0.7678 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.6803, allocations: 19.98 kB / 0.7678 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6803, allocations: 0 / 0.7678 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.6805, allocations: 8.031 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.6806, allocations: 7.312 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0002765/0.6808, allocations: 139.5 kB / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.6809, allocations: 15.77 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005902/0.6815, allocations: 134.2 kB / 0.7681 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.6816, allocations: 4 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6816, allocations: 0 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.6816, allocations: 0 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.6829, allocations: 443.5 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6829, allocations: 4 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.683, allocations: 8 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.6831, allocations: 3.984 kB / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.6831, allocations: 4 kB / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.6831, allocations: 0 / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6831, allocations: 0 / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.6838, allocations: 221.9 kB / 0.7687 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.684, allocations: 103.7 kB / 0.7688 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.6841, allocations: 4.359 kB / 0.7688 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.6843, allocations: 4 kB / 0.7689 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.6844, allocations: 11.45 kB / 0.7689 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.6844, allocations: 8 kB / 0.7689 GB, free: 11.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003978/0.6848, allocations: 188.5 kB / 0.769 GB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6849, allocations: 7.938 kB / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007132/0.6856, allocations: 43.05 kB / 0.7691 GB, free: 10.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003444/0.6891, allocations: 437.2 kB / 0.7695 GB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.6901, allocations: 172.4 kB / 0.7697 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.6902, allocations: 0 / 0.7697 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.6905, allocations: 31.23 kB / 0.7697 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.6917, allocations: 30.88 kB / 0.7697 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.6934, allocations: 327.6 kB / 0.7701 GB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/0.6942, allocations: 0.7204 MB / 0.7708 GB, free: 9.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.6945, allocations: 24.55 kB / 0.7708 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6947, allocations: 15.44 kB / 0.7708 GB, free: 9.418 MB / 362.7 MB Notification: Performance of SimCode: time 2.073e-06/0.6947, allocations: 0 / 0.7708 GB, free: 9.418 MB / 362.7 MB Notification: Performance of Templates: time 0.01014/0.7049, allocations: 1.887 MB / 0.7726 GB, free: 7.562 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_maxScaled,t_new.t_min,t_new.t_minScaled,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time