Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002728/0.002732, allocations: 348.4 kB / 15.94 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.718/3.718, 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.003608/0.003608, allocations: 229.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.4779/0.4779, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007214/0.0007218, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1045, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002198/0.1068, allocations: 1.299 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1079, allocations: 431.4 kB / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.108, allocations: 0 / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.1083, allocations: 39.88 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1085, allocations: 27.91 kB / 0.6085 GB, free: 2.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1088, allocations: 59.81 kB / 0.6085 GB, free: 2.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.109, allocations: 71.75 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1091, allocations: 4 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.1092, allocations: 27.92 kB / 0.6086 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.1093, allocations: 31.78 kB / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1093, allocations: 7.984 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1095, allocations: 32 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.1095, allocations: 15.92 kB / 0.6087 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.1096, allocations: 37.64 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1098, allocations: 96.09 kB / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1099, allocations: 0 / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1099, allocations: 0 / 0.6089 GB, free: 2.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1099, allocations: 0 / 0.6089 GB, free: 2.457 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.0005313/0.1104, allocations: 420.5 kB / 0.6093 GB, free: 1.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1105, allocations: 8.031 kB / 0.6093 GB, free: 1.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.1105, allocations: 19.86 kB / 0.6093 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1108, allocations: 190.9 kB / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1108, allocations: 3.984 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1108, allocations: 8 kB / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.111, allocations: 41.69 kB / 0.6095 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.111, allocations: 7.922 kB / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.111, allocations: 4 kB / 0.6095 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.111, allocations: 0 / 0.6095 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.1111, allocations: 23.88 kB / 0.6096 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.1115, allocations: 280.9 kB / 0.6098 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1117, allocations: 38.58 kB / 0.6099 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.1118, allocations: 16.94 kB / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1118, allocations: 7.984 kB / 0.6099 GB, free: 1.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.112, allocations: 55.34 kB / 0.6099 GB, free: 1.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.112, allocations: 0 / 0.6099 GB, free: 1.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004644/0.1125, allocations: 125.2 kB / 0.6101 GB, free: 1.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1125, allocations: 59.34 kB / 0.6101 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1128, allocations: 207.3 kB / 0.6103 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1128, allocations: 25.7 kB / 0.6103 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1129, allocations: 108.1 kB / 0.6104 GB, free: 0.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1129, allocations: 11.75 kB / 0.6104 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.1129, allocations: 8 kB / 0.6105 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.113, allocations: 318.8 kB / 0.6108 GB, free: 292 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.1131, allocations: 19.98 kB / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.1131, allocations: 16 kB / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.1132, allocations: 57.72 kB / 0.6108 GB, free: 192 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1132, allocations: 0 / 0.6108 GB, free: 192 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002148/0.1134, allocations: 123.1 kB / 0.611 GB, free: 56 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.1135, allocations: 37.7 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1135, allocations: 0 / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1135, allocations: 3.953 kB / 0.611 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2642/0.3777, allocations: 8.766 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3778, allocations: 0.8438 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3779, allocations: 2.594 kB / 0.611 GB, free: 90.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.3779, allocations: 3.578 kB / 0.611 GB, free: 90.37 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.0001535/0.3781, allocations: 130.3 kB / 0.6111 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3782, allocations: 8.625 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.87e-05/0.3782, allocations: 15.19 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3783, allocations: 3.219 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3783, allocations: 0 / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3783, allocations: 86.12 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.3784, allocations: 4.188 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.3784, allocations: 7.484 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.3785, allocations: 10.03 kB / 0.6113 GB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002333/0.3787, allocations: 142.5 kB / 0.6114 GB, free: 90.06 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002056/0.379, allocations: 242.8 kB / 0.6116 GB, free: 89.86 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.578e-05/0.379, allocations: 21.83 kB / 0.6117 GB, free: 89.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.3792, allocations: 157 kB / 0.6118 GB, free: 89.78 MB / 362.7 MB Notification: Performance of Backend: time 7.42e-07/0.3792, allocations: 0 / 0.6118 GB, free: 89.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.3807, allocations: 438.5 kB / 0.6122 GB, free: 89.65 MB / 362.7 MB Notification: Performance of SimCode: time 0.000721/0.3815, allocations: 0.6706 MB / 0.6129 GB, free: 89.04 MB / 362.7 MB Notification: Performance of Templates: time 0.0101/0.3916, allocations: 1.433 MB / 0.6143 GB, free: 89.02 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.verboseRead,t_new.y[1],time