Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test16.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.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002609/0.002609, allocations: 352.4 kB / 15.95 MB, free: 6.219 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.831/3.831, 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.004726/0.004726, allocations: 229.1 kB / 397.9 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.6043/0.6043, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09276, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002108/0.09494, allocations: 1.204 MB / 0.6079 GB, free: 3.438 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.09562, allocations: 251.9 kB / 0.6082 GB, free: 3.188 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.09572, allocations: 0 / 0.6082 GB, free: 3.188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.09604, allocations: 67.84 kB / 0.6082 GB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.09624, allocations: 43.88 kB / 0.6083 GB, free: 3.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.09644, allocations: 39.91 kB / 0.6083 GB, free: 3.039 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.09659, allocations: 55.83 kB / 0.6084 GB, free: 2.984 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.09673, allocations: 7.984 kB / 0.6084 GB, free: 2.977 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.09681, allocations: 27.92 kB / 0.6084 GB, free: 2.949 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.09695, allocations: 47.81 kB / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.09699, allocations: 0 / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.09711, allocations: 16 kB / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.09717, allocations: 11.98 kB / 0.6085 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.09722, allocations: 37.64 kB / 0.6085 GB, free: 2.832 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.09739, allocations: 56.19 kB / 0.6085 GB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.09741, allocations: 0 / 0.6085 GB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09743, allocations: 7.938 kB / 0.6086 GB, free: 2.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.09744, allocations: 0 / 0.6086 GB, free: 2.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005431/0.09799, allocations: 408.6 kB / 0.6089 GB, free: 2.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.09805, allocations: 8.031 kB / 0.609 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.09811, allocations: 7.906 kB / 0.609 GB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.0983, allocations: 196.9 kB / 0.6091 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.09833, allocations: 4 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.09837, allocations: 0 / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.09855, allocations: 53.69 kB / 0.6092 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.09858, allocations: 0 / 0.6092 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.0986, allocations: 4 kB / 0.6092 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.09862, allocations: 3.953 kB / 0.6092 GB, free: 2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.09877, allocations: 31.91 kB / 0.6092 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.0992, allocations: 284.8 kB / 0.6095 GB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.09948, allocations: 50.56 kB / 0.6096 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.09958, allocations: 20.94 kB / 0.6096 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.09961, allocations: 0 / 0.6096 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.09964, allocations: 38.52 kB / 0.6096 GB, free: 1.512 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.09965, allocations: 0 / 0.6096 GB, free: 1.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008027/0.1005, allocations: 181.3 kB / 0.6098 GB, free: 1.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.1005, allocations: 51.41 kB / 0.6098 GB, free: 1.266 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1007, allocations: 198.3 kB / 0.61 GB, free: 1.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1007, allocations: 29.7 kB / 0.6101 GB, free: 1.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.1008, allocations: 100.1 kB / 0.6102 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1008, allocations: 11.72 kB / 0.6102 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.1009, allocations: 4 kB / 0.6102 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.1009, allocations: 322.8 kB / 0.6105 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1011, allocations: 27.92 kB / 0.6105 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1012, allocations: 31.98 kB / 0.6105 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1013, allocations: 53.69 kB / 0.6106 GB, free: 480 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1014, allocations: 0 / 0.6106 GB, free: 480 kB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003354/0.1017, allocations: 131.3 kB / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.1018, allocations: 33.66 kB / 0.6107 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1018, allocations: 0 / 0.6107 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1018, allocations: 0 / 0.6107 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.102, allocations: 15.98 kB / 0.6108 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.102, allocations: 0 / 0.6108 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.1021, allocations: 11.98 kB / 0.6108 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1021, allocations: 0 / 0.6108 GB, free: 268 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001014/0.1022, allocations: 136.2 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1022, allocations: 7.906 kB / 0.6109 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.1026, allocations: 114.2 kB / 0.611 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.3785, allocations: 3.547 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3785, allocations: 3.75 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.3786, allocations: 86.64 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.3787, allocations: 0.7031 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3788, allocations: 15.52 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.3789, allocations: 1.812 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005228/0.3794, allocations: 177.4 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006364/0.3801, allocations: 269.1 kB / 0.6115 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00023/0.3803, allocations: 33.3 kB / 0.6116 GB, free: 90.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002736/0.3806, allocations: 147.3 kB / 0.6117 GB, free: 89.98 MB / 362.7 MB Notification: Performance of Backend: time 8.72e-07/0.3807, allocations: 0 / 0.6117 GB, free: 89.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3826, allocations: 324.5 kB / 0.612 GB, free: 89.86 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008791/0.3835, allocations: 0.6532 MB / 0.6127 GB, free: 89.24 MB / 362.7 MB Notification: Performance of Templates: time 0.007099/0.3906, allocations: 0.9766 MB / 0.6136 GB, free: 89.23 MB / 362.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.n,t_new.smoothness,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.u[1],t_new.verboseRead,t_new.y[1],time