Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.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.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003997/0.004003, allocations: 361.2 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.541/4.541, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003513/0.003513, allocations: 225.1 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.5712/0.5712, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007866/0.0007867, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1433, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.6203, allocations: 82.15 MB / 0.7603 GB, free: 3.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6207, allocations: 88.39 kB / 0.7604 GB, free: 3.16 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.02003/0.6407, allocations: 4.755 MB / 0.765 GB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6408, allocations: 0 / 0.765 GB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.6408, allocations: 4 kB / 0.765 GB, free: 15.13 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.0007219/0.6416, allocations: 496 kB / 0.7655 GB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6416, allocations: 8.828 kB / 0.7655 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.6417, allocations: 15.81 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.6421, allocations: 209.7 kB / 0.7657 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.6421, allocations: 4 kB / 0.7657 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.6422, allocations: 7.438 kB / 0.7658 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.6424, allocations: 52.55 kB / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6424, allocations: 0 / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.6425, allocations: 11.89 kB / 0.7658 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6425, allocations: 4 kB / 0.7658 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.6426, allocations: 26.86 kB / 0.7658 GB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.6432, allocations: 315.6 kB / 0.7661 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.6435, allocations: 60.67 kB / 0.7662 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.6436, allocations: 24.03 kB / 0.7662 GB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.6436, allocations: 11.98 kB / 0.7662 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.6438, allocations: 67.69 kB / 0.7663 GB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.305e-06/0.6439, allocations: 0 / 0.7663 GB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008525/0.6447, allocations: 193 kB / 0.7665 GB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.6448, allocations: 59.16 kB / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/0.6451, allocations: 214.3 kB / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.6452, allocations: 37.08 kB / 0.7668 GB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.6453, allocations: 106.6 kB / 0.7669 GB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.6453, allocations: 30.08 kB / 0.7669 GB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6454, allocations: 0 / 0.7669 GB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.6455, allocations: 326.2 kB / 0.7672 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.6457, allocations: 34.23 kB / 0.7673 GB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6458, allocations: 58.31 kB / 0.7673 GB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.646, allocations: 74.83 kB / 0.7674 GB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.6461, allocations: 3.984 kB / 0.7674 GB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004677/0.6465, allocations: 178.7 kB / 0.7676 GB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.6466, allocations: 36.94 kB / 0.7676 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6466, allocations: 4 kB / 0.7676 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6466, allocations: 0 / 0.7676 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6468, allocations: 15.94 kB / 0.7676 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.6468, allocations: 8.062 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6469, allocations: 4 kB / 0.7676 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.647, allocations: 15.77 kB / 0.7676 GB, free: 12.48 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.0001834/0.6472, allocations: 129 kB / 0.7678 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.6472, allocations: 19.77 kB / 0.7678 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.6476, allocations: 117.6 kB / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6477, allocations: 4 kB / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6477, allocations: 0 / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6477, allocations: 0 / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.6484, allocations: 432.2 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6484, allocations: 0 / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.6485, allocations: 11.25 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.6485, allocations: 4 kB / 0.7683 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.6486, allocations: 0 / 0.7683 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.6486, allocations: 0 / 0.7683 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6486, allocations: 11.92 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.649, allocations: 213.8 kB / 0.7685 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6491, allocations: 101.8 kB / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.6491, allocations: 7.938 kB / 0.7686 GB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6493, allocations: 11.42 kB / 0.7687 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.6493, allocations: 0 / 0.7687 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6493, allocations: 4 kB / 0.7687 GB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000215/0.6496, allocations: 167.5 kB / 0.7688 GB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6496, allocations: 0 / 0.7688 GB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.65, allocations: 51.53 kB / 0.7689 GB, free: 11.24 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.001391/0.6514, allocations: 440.2 kB / 0.7693 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.6518, allocations: 166.8 kB / 0.7694 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6519, allocations: 0 / 0.7694 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.652, allocations: 33.73 kB / 0.7695 GB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.6525, allocations: 32.62 kB / 0.7695 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/0.6532, allocations: 280.2 kB / 0.7698 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.6536, allocations: 0.716 MB / 0.7705 GB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.473e-05/0.6537, allocations: 20.55 kB / 0.7705 GB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.6538, allocations: 15.44 kB / 0.7705 GB, free: 9.727 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6538, allocations: 0 / 0.7705 GB, free: 9.727 MB / 362.7 MB Notification: Performance of Templates: time 0.007056/0.6609, allocations: 1.808 MB / 0.7723 GB, free: 7.941 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.timeScale,t_new.verboseRead,t_new.y[1],time