Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004489/0.004495, allocations: 352.3 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.643/3.643, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.00359/0.003591, allocations: 229.2 kB / 397.9 MB, free: 4.902 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.4736/0.4736, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004919, allocations: 16 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08915, allocations: 48.7 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00202/0.09123, allocations: 1.299 MB / 0.608 GB, free: 3.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.09223, allocations: 423.5 kB / 0.6084 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.09231, allocations: 0 / 0.6084 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.09265, allocations: 43.88 kB / 0.6085 GB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.09285, allocations: 43.88 kB / 0.6085 GB, free: 2.809 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.0931, allocations: 55.81 kB / 0.6086 GB, free: 2.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.09326, allocations: 63.83 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.09337, allocations: 4 kB / 0.6086 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.09349, allocations: 35.84 kB / 0.6087 GB, free: 2.652 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.691e-05/0.09358, allocations: 31.84 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.09362, allocations: 0 / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.09376, allocations: 32 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.09382, allocations: 31.91 kB / 0.6088 GB, free: 2.559 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.09388, allocations: 45.52 kB / 0.6088 GB, free: 2.508 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.09408, allocations: 92.09 kB / 0.6089 GB, free: 2.418 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.0941, allocations: 0 / 0.6089 GB, free: 2.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09411, allocations: 0 / 0.6089 GB, free: 2.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09413, allocations: 0 / 0.6089 GB, free: 2.418 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.000509/0.09464, allocations: 432.5 kB / 0.6093 GB, free: 1.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.0947, allocations: 8.031 kB / 0.6093 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.09476, allocations: 15.77 kB / 0.6093 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.09498, allocations: 206.9 kB / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.09502, allocations: 4 kB / 0.6095 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.09505, allocations: 7.984 kB / 0.6095 GB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.09518, allocations: 41.69 kB / 0.6096 GB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.09521, allocations: 3.938 kB / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.09523, allocations: 0 / 0.6096 GB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.09524, allocations: 3.938 kB / 0.6096 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.09532, allocations: 19.94 kB / 0.6096 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.09568, allocations: 288.8 kB / 0.6099 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.09593, allocations: 38.56 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.544e-05/0.09599, allocations: 12.86 kB / 0.6099 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.09602, allocations: 3.938 kB / 0.6099 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.09621, allocations: 63.48 kB / 0.61 GB, free: 1.117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.526e-06/0.09622, allocations: 4 kB / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004854/0.09672, allocations: 129.1 kB / 0.6101 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.09676, allocations: 51.41 kB / 0.6102 GB, free: 0.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.09704, allocations: 247.4 kB / 0.6104 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.09707, allocations: 29.7 kB / 0.6104 GB, free: 0.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.09714, allocations: 108.1 kB / 0.6105 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.09717, allocations: 11.81 kB / 0.6105 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-06/0.09719, allocations: 4 kB / 0.6105 GB, free: 0.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.09727, allocations: 322.8 kB / 0.6108 GB, free: 180 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.09734, allocations: 23.98 kB / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.0974, allocations: 16 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.0975, allocations: 53.69 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.09752, allocations: 96 / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.3055/0.403, allocations: 127.1 kB / 0.6111 GB, free: 90.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.4032, allocations: 33.36 kB / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4032, allocations: 0 / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4032, allocations: 2.062 kB / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4034, allocations: 9.531 kB / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4034, allocations: 0.6094 kB / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.4036, allocations: 7.438 kB / 0.6111 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.4037, allocations: 3.156 kB / 0.6111 GB, free: 90.29 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.0002424/0.4039, allocations: 138.6 kB / 0.6112 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.404, allocations: 9.031 kB / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.4041, allocations: 22.88 kB / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4042, allocations: 0 / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.4042, allocations: 2.344 kB / 0.6113 GB, free: 90.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.4043, allocations: 88.06 kB / 0.6114 GB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.4044, allocations: 7.141 kB / 0.6114 GB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4045, allocations: 3.438 kB / 0.6114 GB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.4046, allocations: 6.078 kB / 0.6114 GB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003304/0.4049, allocations: 142 kB / 0.6115 GB, free: 89.97 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003152/0.4053, allocations: 254.4 kB / 0.6118 GB, free: 89.76 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.65e-05/0.4054, allocations: 13.58 kB / 0.6118 GB, free: 89.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003267/0.4057, allocations: 188 kB / 0.6119 GB, free: 89.68 MB / 362.7 MB Notification: Performance of Backend: time 8.52e-07/0.4058, allocations: 0 / 0.6119 GB, free: 89.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.4078, allocations: 437.2 kB / 0.6124 GB, free: 89.56 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008224/0.4086, allocations: 0.6846 MB / 0.613 GB, free: 88.94 MB / 362.7 MB Notification: Performance of Templates: time 0.006521/0.4152, allocations: 1.453 MB / 0.6145 GB, free: 88.93 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