Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002531/0.002536, allocations: 347.9 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.814/3.814, 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.003704/0.003704, allocations: 229.1 kB / 397.9 MB, free: 4.973 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.5165/0.5165, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09164, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002028/0.09372, allocations: 1.295 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.09469, allocations: 423.5 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.09478, allocations: 0 / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.09511, allocations: 31.91 kB / 0.6085 GB, free: 2.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.09532, allocations: 31.91 kB / 0.6085 GB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.09563, allocations: 59.8 kB / 0.6085 GB, free: 2.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.09579, allocations: 59.84 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.09591, allocations: 7.984 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.09599, allocations: 31.84 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.09607, allocations: 19.92 kB / 0.6087 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.0961, allocations: 3.938 kB / 0.6087 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.09625, allocations: 43.94 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.0963, allocations: 15.91 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.09635, allocations: 37.64 kB / 0.6088 GB, free: 2.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.09654, allocations: 80.11 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.09656, allocations: 4 kB / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.09657, allocations: 0 / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.09658, allocations: 0 / 0.6088 GB, free: 2.488 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.0005087/0.0971, allocations: 404.6 kB / 0.6092 GB, free: 2.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.09716, allocations: 8.031 kB / 0.6092 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.09722, allocations: 15.86 kB / 0.6092 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.09745, allocations: 198.9 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.09749, allocations: 4 kB / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.09752, allocations: 11.94 kB / 0.6094 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.09767, allocations: 45.62 kB / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.09769, allocations: 0 / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.09771, allocations: 3.953 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.09773, allocations: 0 / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.708e-05/0.0978, allocations: 15.98 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.09817, allocations: 276.9 kB / 0.6098 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.09842, allocations: 38.52 kB / 0.6098 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.09847, allocations: 16.94 kB / 0.6098 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.09851, allocations: 0 / 0.6098 GB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.09868, allocations: 55.36 kB / 0.6099 GB, free: 1.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.345e-06/0.09869, allocations: 4 kB / 0.6099 GB, free: 1.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004498/0.09915, allocations: 121.5 kB / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.09919, allocations: 51.41 kB / 0.61 GB, free: 1.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.09937, allocations: 167.9 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.0994, allocations: 25.7 kB / 0.6102 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.09947, allocations: 108 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.0995, allocations: 7.906 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.09952, allocations: 0 / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.0996, allocations: 326.8 kB / 0.6107 GB, free: 412 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.09966, allocations: 16 kB / 0.6107 GB, free: 396 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.273e-05/0.09972, allocations: 27.92 kB / 0.6107 GB, free: 368 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.09981, allocations: 49.73 kB / 0.6107 GB, free: 312 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.09982, allocations: 0 / 0.6107 GB, free: 312 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001969/0.1, allocations: 115.3 kB / 0.6109 GB, free: 184 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.1001, allocations: 37.64 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1001, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1001, allocations: 8.031 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.1002, allocations: 11.94 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1002, allocations: 0 / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.1003, allocations: 8 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1003, allocations: 4 kB / 0.6109 GB, free: 108 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: 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.3138/0.4141, allocations: 121 kB / 0.611 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.4142, allocations: 11.28 kB / 0.611 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.4143, allocations: 14.41 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4143, allocations: 0.7031 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.4143, allocations: 1.125 kB / 0.6111 GB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.4143, allocations: 86.53 kB / 0.6111 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.4144, allocations: 7.031 kB / 0.6111 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.4145, allocations: 4.797 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4145, allocations: 3.609 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002335/0.4148, allocations: 147 kB / 0.6113 GB, free: 90.14 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002011/0.415, allocations: 242.6 kB / 0.6115 GB, free: 89.94 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.515e-05/0.4151, allocations: 18.28 kB / 0.6115 GB, free: 89.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.4152, allocations: 132.3 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of Backend: time 8.62e-07/0.4152, allocations: 1.062 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.4167, allocations: 433.7 kB / 0.6121 GB, free: 89.74 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006396/0.4173, allocations: 0.6441 MB / 0.6127 GB, free: 89.13 MB / 362.7 MB Notification: Performance of Templates: time 0.008447/0.4258, allocations: 1.415 MB / 0.6141 GB, free: 89.12 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.verboseRead,t_new.y[1],time