Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003903/0.003902, allocations: 349.4 kB / 15.95 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.924/3.924, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003713/0.003713, allocations: 217.2 kB / 397.9 MB, free: 4.98 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.5246/0.5246, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008071/0.0008076, allocations: 11.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09438, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002823/0.09727, allocations: 1.223 MB / 0.6079 GB, free: 3.414 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008989/0.09823, allocations: 243.9 kB / 0.6082 GB, free: 3.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.09834, allocations: 3.938 kB / 0.6082 GB, free: 3.168 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.09872, allocations: 79.86 kB / 0.6083 GB, free: 3.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.09896, allocations: 55.86 kB / 0.6083 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.0992, allocations: 35.91 kB / 0.6083 GB, free: 3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.0994, allocations: 63.83 kB / 0.6084 GB, free: 2.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.09957, allocations: 11.94 kB / 0.6084 GB, free: 2.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.09969, allocations: 35.89 kB / 0.6084 GB, free: 2.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.09985, allocations: 43.91 kB / 0.6085 GB, free: 2.848 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.0999, allocations: 3.938 kB / 0.6085 GB, free: 2.844 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1, allocations: 27.97 kB / 0.6085 GB, free: 2.816 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.1001, allocations: 19.92 kB / 0.6085 GB, free: 2.797 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.1002, allocations: 33.7 kB / 0.6086 GB, free: 2.758 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1004, allocations: 64.19 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1004, allocations: 0 / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1005, allocations: 3.938 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1005, allocations: 0 / 0.6086 GB, free: 2.691 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006122/0.1011, allocations: 428.5 kB / 0.609 GB, free: 2.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1012, allocations: 8.031 kB / 0.609 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.1012, allocations: 7.906 kB / 0.6091 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1015, allocations: 198.8 kB / 0.6092 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1015, allocations: 0 / 0.6092 GB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1016, allocations: 8 kB / 0.6093 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1019, allocations: 65.59 kB / 0.6093 GB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1019, allocations: 0 / 0.6093 GB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1019, allocations: 3.953 kB / 0.6093 GB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.102, allocations: 8 kB / 0.6093 GB, free: 1.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.1022, allocations: 39.91 kB / 0.6094 GB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.1028, allocations: 292.8 kB / 0.6096 GB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1031, allocations: 54.56 kB / 0.6097 GB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1032, allocations: 32.86 kB / 0.6097 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1033, allocations: 0 / 0.6097 GB, free: 1.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1033, allocations: 38.56 kB / 0.6098 GB, free: 1.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 3.026e-06/0.1033, allocations: 0 / 0.6098 GB, free: 1.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001364/0.1047, allocations: 201.2 kB / 0.61 GB, free: 1.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.1048, allocations: 55.41 kB / 0.61 GB, free: 1.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.1052, allocations: 223.2 kB / 0.6102 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1052, allocations: 29.7 kB / 0.6103 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1053, allocations: 104.2 kB / 0.6104 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.1054, allocations: 27.64 kB / 0.6104 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.1054, allocations: 0 / 0.6104 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.1055, allocations: 326.8 kB / 0.6107 GB, free: 372 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1057, allocations: 27.98 kB / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.106, allocations: 35.98 kB / 0.6108 GB, free: 308 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1062, allocations: 57.69 kB / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1062, allocations: 0 / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005811/0.1068, allocations: 163.2 kB / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.1069, allocations: 29.7 kB / 0.611 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1069, allocations: 4 kB / 0.611 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.107, allocations: 0 / 0.611 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.1072, allocations: 23.92 kB / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1073, allocations: 0 / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3263/0.4336, allocations: 9.969 kB / 0.611 GB, free: 90.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.4337, allocations: 2.438 kB / 0.611 GB, free: 90.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001945/0.4339, allocations: 129.5 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.434, allocations: 15.94 kB / 0.6112 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.4347, allocations: 127.2 kB / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4348, allocations: 0.7812 kB / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4348, allocations: 0 / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.4349, allocations: 90.31 kB / 0.6114 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.4349, allocations: 9.672 kB / 0.6114 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4351, allocations: 6.891 kB / 0.6114 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.4352, allocations: 8.016 kB / 0.6114 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006206/0.4359, allocations: 194 kB / 0.6116 GB, free: 89.97 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006318/0.4365, allocations: 290.8 kB / 0.6119 GB, free: 89.77 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002544/0.4368, allocations: 36.7 kB / 0.6119 GB, free: 89.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002925/0.4371, allocations: 168.4 kB / 0.6121 GB, free: 89.69 MB / 362.7 MB Notification: Performance of Backend: time 3.937e-06/0.4371, allocations: 0 / 0.6121 GB, free: 89.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.4389, allocations: 336 kB / 0.6124 GB, free: 89.57 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008814/0.4398, allocations: 0.6816 MB / 0.613 GB, free: 88.94 MB / 362.7 MB Notification: Performance of Templates: time 0.008059/0.4479, allocations: 1.109 MB / 0.6141 GB, free: 88.93 MB / 362.7 MB "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,t_new.columns[1],t_new.columns[2],t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],t_new.y[2],time