Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004158/0.004165, allocations: 351 kB / 15.95 MB, free: 6.219 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.823/3.823, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003548/0.003547, allocations: 219.1 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5507/0.5507, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006586/0.0006589, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.0959, allocations: 48.7 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002083/0.09806, allocations: 1.308 MB / 0.608 GB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.09908, allocations: 423.5 kB / 0.6084 GB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.09917, allocations: 4 kB / 0.6084 GB, free: 9.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.0995, allocations: 39.88 kB / 0.6085 GB, free: 9.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.09971, allocations: 47.81 kB / 0.6085 GB, free: 9.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.09997, allocations: 55.81 kB / 0.6086 GB, free: 9.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1001, allocations: 59.83 kB / 0.6086 GB, free: 9.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1002, allocations: 11.98 kB / 0.6086 GB, free: 9.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.1004, allocations: 31.84 kB / 0.6087 GB, free: 9.547 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1004, allocations: 27.91 kB / 0.6087 GB, free: 9.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1005, allocations: 8 kB / 0.6087 GB, free: 9.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1006, allocations: 35.94 kB / 0.6087 GB, free: 9.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1007, allocations: 27.91 kB / 0.6088 GB, free: 9.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.1007, allocations: 37.64 kB / 0.6088 GB, free: 9.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1009, allocations: 92.09 kB / 0.6089 GB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.101, allocations: 4 kB / 0.6089 GB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.101, allocations: 0 / 0.6089 GB, free: 9.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.101, allocations: 0 / 0.6089 GB, free: 9.312 MB / 282.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.0005879/0.1016, allocations: 443.3 kB / 0.6093 GB, free: 8.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1017, allocations: 15.97 kB / 0.6093 GB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1017, allocations: 11.91 kB / 0.6093 GB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.102, allocations: 203.6 kB / 0.6095 GB, free: 8.559 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.102, allocations: 4 kB / 0.6095 GB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.102, allocations: 0 / 0.6095 GB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1022, allocations: 49.66 kB / 0.6096 GB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1022, allocations: 3.938 kB / 0.6096 GB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1022, allocations: 0 / 0.6096 GB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1022, allocations: 4 kB / 0.6096 GB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.1023, allocations: 8 kB / 0.6096 GB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1027, allocations: 296.9 kB / 0.6099 GB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.1029, allocations: 38.58 kB / 0.6099 GB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.103, allocations: 16.88 kB / 0.6099 GB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.103, allocations: 0 / 0.6099 GB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.1032, allocations: 55.41 kB / 0.61 GB, free: 8.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.1032, allocations: 0 / 0.61 GB, free: 8.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004609/0.1037, allocations: 141.1 kB / 0.6101 GB, free: 7.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.1037, allocations: 51.41 kB / 0.6102 GB, free: 7.805 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.104, allocations: 251.9 kB / 0.6104 GB, free: 7.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.104, allocations: 29.7 kB / 0.6104 GB, free: 7.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.1041, allocations: 108.1 kB / 0.6105 GB, free: 7.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1041, allocations: 11.81 kB / 0.6106 GB, free: 7.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1042, allocations: 4 kB / 0.6106 GB, free: 7.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.1043, allocations: 330.8 kB / 0.6109 GB, free: 7.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.1043, allocations: 23.98 kB / 0.6109 GB, free: 7.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.1044, allocations: 12 kB / 0.6109 GB, free: 7.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.1045, allocations: 53.67 kB / 0.611 GB, free: 6.965 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1045, allocations: 0 / 0.611 GB, free: 6.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002094/0.1047, allocations: 131.2 kB / 0.6111 GB, free: 6.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1047, allocations: 33.64 kB / 0.6111 GB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1048, allocations: 4.062 kB / 0.6111 GB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1048, allocations: 0 / 0.6111 GB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.1049, allocations: 11.98 kB / 0.6111 GB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1049, allocations: 11.94 kB / 0.6111 GB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.105, allocations: 0 / 0.6111 GB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.105, allocations: 4 kB / 0.6112 GB, free: 6.754 MB / 282.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.0001085/0.1051, allocations: 143 kB / 0.6113 GB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.1051, allocations: 7.906 kB / 0.6113 GB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.1052, allocations: 20.98 kB / 0.6113 GB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1052, allocations: 0 / 0.6113 GB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1052, allocations: 0 / 0.6113 GB, free: 6.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.1053, allocations: 92.92 kB / 0.6114 GB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1053, allocations: 0 / 0.6114 GB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.1054, allocations: 8 kB / 0.6114 GB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1054, allocations: 7.938 kB / 0.6114 GB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001705/0.1056, allocations: 141 kB / 0.6116 GB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001906/0.1058, allocations: 254.6 kB / 0.6118 GB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.102e-05/0.1059, allocations: 16.28 kB / 0.6118 GB, free: 6.027 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.1061, allocations: 196.2 kB / 0.612 GB, free: 5.836 MB / 282.7 MB Notification: Performance of Backend: time 1.122e-06/0.1061, allocations: 0 / 0.612 GB, free: 5.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.1076, allocations: 448.5 kB / 0.6124 GB, free: 5.496 MB / 282.7 MB Notification: Performance of SimCode: time 0.0007409/0.1084, allocations: 0.7026 MB / 0.6131 GB, free: 4.742 MB / 282.7 MB Notification: Performance of Templates: time 0.005466/0.1139, allocations: 1.46 MB / 0.6145 GB, free: 3.297 MB / 282.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[10,1],t_new.table[10,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