Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00262/0.00262, allocations: 347.5 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.79/3.79, 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.003553/0.003553, allocations: 225 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.5385/0.5385, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00062/0.0006203, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1106, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00196/0.1126, allocations: 1.299 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.1136, allocations: 423.5 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.1136, allocations: 0 / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1139, allocations: 47.88 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1141, allocations: 39.88 kB / 0.6085 GB, free: 2.828 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1143, allocations: 55.81 kB / 0.6086 GB, free: 2.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1145, allocations: 63.83 kB / 0.6086 GB, free: 2.711 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.1146, allocations: 8 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.1147, allocations: 35.84 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.1148, allocations: 27.91 kB / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1148, allocations: 0 / 0.6087 GB, free: 2.641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1149, allocations: 39.88 kB / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.115, allocations: 23.91 kB / 0.6088 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.115, allocations: 37.7 kB / 0.6088 GB, free: 2.535 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1152, allocations: 88.09 kB / 0.6089 GB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1152, allocations: 0 / 0.6089 GB, free: 2.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1153, allocations: 11.94 kB / 0.6089 GB, free: 2.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1153, allocations: 3.938 kB / 0.6089 GB, free: 2.434 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.0005061/0.1158, allocations: 432.5 kB / 0.6093 GB, free: 1.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1158, allocations: 8.031 kB / 0.6093 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.1159, allocations: 15.77 kB / 0.6093 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.1161, allocations: 202.9 kB / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1161, allocations: 0 / 0.6095 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1162, allocations: 11.94 kB / 0.6095 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.1163, allocations: 41.69 kB / 0.6096 GB, free: 1.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1163, allocations: 4 kB / 0.6096 GB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1163, allocations: 3.984 kB / 0.6096 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1163, allocations: 0 / 0.6096 GB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.865e-05/0.1164, allocations: 19.88 kB / 0.6096 GB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.1168, allocations: 292.8 kB / 0.6099 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.117, allocations: 38.56 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.117, allocations: 12.86 kB / 0.6099 GB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1171, allocations: 4 kB / 0.6099 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.1172, allocations: 63.42 kB / 0.61 GB, free: 1.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.1172, allocations: 0 / 0.61 GB, free: 1.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004224/0.1177, allocations: 129.1 kB / 0.6101 GB, free: 1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.1177, allocations: 51.41 kB / 0.6102 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.118, allocations: 247.4 kB / 0.6104 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.118, allocations: 33.7 kB / 0.6104 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.1181, allocations: 108.1 kB / 0.6105 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1181, allocations: 11.81 kB / 0.6105 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.1181, allocations: 0 / 0.6105 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.1182, allocations: 326.8 kB / 0.6109 GB, free: 196 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.639e-05/0.1183, allocations: 19.98 kB / 0.6109 GB, free: 176 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.1183, allocations: 12 kB / 0.6109 GB, free: 164 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.1184, allocations: 53.69 kB / 0.6109 GB, free: 104 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1184, allocations: 4 kB / 0.6109 GB, free: 100 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.271/0.3895, allocations: 124.6 kB / 0.6111 GB, free: 90.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.3896, allocations: 36.27 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3896, allocations: 0 / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.3896, allocations: 1.719 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.3897, allocations: 10.61 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3898, allocations: 0 / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.3899, allocations: 4.906 kB / 0.6111 GB, free: 90.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.3899, allocations: 3.969 kB / 0.6111 GB, free: 90.41 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.0001362/0.39, allocations: 133.4 kB / 0.6112 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.3901, allocations: 13.72 kB / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.3902, allocations: 21.89 kB / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3902, allocations: 0 / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3902, allocations: 6.75 kB / 0.6113 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.3902, allocations: 92.75 kB / 0.6114 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3903, allocations: 3.047 kB / 0.6114 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.3903, allocations: 7.281 kB / 0.6114 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3904, allocations: 4.297 kB / 0.6114 GB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002083/0.3906, allocations: 146.4 kB / 0.6115 GB, free: 90.1 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002002/0.3908, allocations: 247.9 kB / 0.6118 GB, free: 89.89 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.101e-05/0.3909, allocations: 16.53 kB / 0.6118 GB, free: 89.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3911, allocations: 183.9 kB / 0.6119 GB, free: 89.81 MB / 362.7 MB Notification: Performance of Backend: time 8.92e-07/0.3911, allocations: 0 / 0.6119 GB, free: 89.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.3926, allocations: 434.5 kB / 0.6124 GB, free: 89.69 MB / 362.7 MB Notification: Performance of SimCode: time 0.0007348/0.3933, allocations: 0.6883 MB / 0.613 GB, free: 89.07 MB / 362.7 MB Notification: Performance of Templates: time 0.006559/0.3999, allocations: 1.451 MB / 0.6145 GB, free: 89.05 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