Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003648/0.003648, allocations: 348.8 kB / 15.95 MB, free: 6.199 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.609/3.609, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003624/0.003624, allocations: 229.2 kB / 397.9 MB, free: 4.984 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.486/0.486, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007163/0.0007168, allocations: 15.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09978/0.1005, allocations: 48.71 MB / 0.6068 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.001962/0.1026, allocations: 1.303 MB / 0.608 GB, free: 3.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.1035, allocations: 423.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.1036, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1039, allocations: 47.88 kB / 0.6085 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1041, allocations: 31.89 kB / 0.6085 GB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1043, allocations: 63.8 kB / 0.6086 GB, free: 2.777 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1045, allocations: 59.84 kB / 0.6086 GB, free: 2.719 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.1046, allocations: 7.984 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.1047, allocations: 39.84 kB / 0.6087 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.1047, allocations: 19.92 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1048, allocations: 0 / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1049, allocations: 47.91 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.105, allocations: 23.86 kB / 0.6088 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.105, allocations: 37.7 kB / 0.6088 GB, free: 2.539 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1052, allocations: 100 kB / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1052, allocations: 0 / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1052, allocations: 0 / 0.6089 GB, free: 2.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1052, allocations: 0 / 0.6089 GB, free: 2.441 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.0004755/0.1057, allocations: 436.5 kB / 0.6093 GB, free: 1.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1058, allocations: 8.031 kB / 0.6093 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.1058, allocations: 19.77 kB / 0.6093 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.106, allocations: 190.9 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1061, allocations: 3.938 kB / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1061, allocations: 4 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1062, allocations: 49.61 kB / 0.6096 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1063, allocations: 0 / 0.6096 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1063, allocations: 4 kB / 0.6096 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1063, allocations: 4 kB / 0.6096 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1064, allocations: 19.88 kB / 0.6096 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1068, allocations: 284.8 kB / 0.6099 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.107, allocations: 42.56 kB / 0.6099 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.107, allocations: 8.859 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1071, allocations: 8 kB / 0.6099 GB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1072, allocations: 63.41 kB / 0.61 GB, free: 1.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.1072, allocations: 0 / 0.61 GB, free: 1.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004352/0.1077, allocations: 141.1 kB / 0.6101 GB, free: 1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.1077, allocations: 51.41 kB / 0.6102 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.108, allocations: 243.5 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.108, allocations: 29.69 kB / 0.6104 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.1081, allocations: 112.1 kB / 0.6105 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1081, allocations: 15.8 kB / 0.6106 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-06/0.1081, allocations: 0 / 0.6106 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.1082, allocations: 326.8 kB / 0.6109 GB, free: 196 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-05/0.1083, allocations: 12 kB / 0.6109 GB, free: 184 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.1083, allocations: 23.98 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.1084, allocations: 45.7 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1084, allocations: 0 / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.2692/0.3776, allocations: 121.7 kB / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.3777, allocations: 39.03 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3778, allocations: 0 / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3778, allocations: 4.75 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.3779, allocations: 9.016 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3779, allocations: 1.406 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.378, allocations: 4.438 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3781, allocations: 3.594 kB / 0.6111 GB, free: 90.26 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.0001367/0.3782, allocations: 137.4 kB / 0.6112 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3782, allocations: 14.78 kB / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.3783, allocations: 17.66 kB / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3784, allocations: 1.531 kB / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3784, allocations: 0 / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.3784, allocations: 95.72 kB / 0.6114 GB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3785, allocations: 2.375 kB / 0.6114 GB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.3785, allocations: 3.078 kB / 0.6114 GB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3786, allocations: 3.938 kB / 0.6114 GB, free: 90.05 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001991/0.3788, allocations: 150 kB / 0.6115 GB, free: 89.94 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001969/0.379, allocations: 253 kB / 0.6118 GB, free: 89.73 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.413e-05/0.3791, allocations: 14.31 kB / 0.6118 GB, free: 89.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.3793, allocations: 183.9 kB / 0.612 GB, free: 89.66 MB / 362.7 MB Notification: Performance of Backend: time 7.01e-07/0.3793, allocations: 0.7812 kB / 0.612 GB, free: 89.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.3807, allocations: 436.8 kB / 0.6124 GB, free: 89.53 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006901/0.3814, allocations: 0.6868 MB / 0.613 GB, free: 88.91 MB / 362.7 MB Notification: Performance of Templates: time 0.009758/0.3911, allocations: 1.453 MB / 0.6145 GB, free: 88.9 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.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.verboseRead,t_new.y[1],time