Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00264/0.00264, allocations: 351.4 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 4.174/4.174, 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.003664/0.003664, allocations: 221.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.5183/0.5183, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004683, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09313, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00214/0.09533, allocations: 1.299 MB / 0.608 GB, free: 3.332 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.09627, allocations: 419.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.09635, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.09663, allocations: 43.88 kB / 0.6085 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.0968, allocations: 31.89 kB / 0.6085 GB, free: 2.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.09702, allocations: 59.81 kB / 0.6086 GB, free: 2.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.09715, allocations: 59.83 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.09726, allocations: 4 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.09733, allocations: 27.86 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.09742, allocations: 31.91 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.09746, allocations: 0 / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.09759, allocations: 39.92 kB / 0.6087 GB, free: 2.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.09766, allocations: 15.92 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.0977, allocations: 37.64 kB / 0.6088 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.09788, allocations: 84.11 kB / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.0979, allocations: 3.938 kB / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.09791, allocations: 0 / 0.6088 GB, free: 2.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09792, allocations: 0 / 0.6088 GB, free: 2.48 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.0004435/0.09837, allocations: 412.6 kB / 0.6092 GB, free: 2.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.09842, allocations: 12.03 kB / 0.6092 GB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.09847, allocations: 11.86 kB / 0.6093 GB, free: 2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.09867, allocations: 200.9 kB / 0.6095 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.09871, allocations: 8 kB / 0.6095 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.09874, allocations: 0 / 0.6095 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.09888, allocations: 49.61 kB / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.0989, allocations: 0 / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.09893, allocations: 0 / 0.6095 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.09894, allocations: 4 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.992e-05/0.09901, allocations: 15.94 kB / 0.6095 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.09935, allocations: 276.9 kB / 0.6098 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.09957, allocations: 42.5 kB / 0.6098 GB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.09962, allocations: 12.86 kB / 0.6098 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.09966, allocations: 12.06 kB / 0.6099 GB, free: 1.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.09982, allocations: 55.41 kB / 0.6099 GB, free: 1.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.09983, allocations: 0 / 0.6099 GB, free: 1.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004255/0.1003, allocations: 129.3 kB / 0.61 GB, free: 1.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.1003, allocations: 51.41 kB / 0.6101 GB, free: 1.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1005, allocations: 186.3 kB / 0.6103 GB, free: 0.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1005, allocations: 25.7 kB / 0.6103 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1006, allocations: 100.1 kB / 0.6104 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1006, allocations: 15.81 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.1006, allocations: 0 / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.1007, allocations: 326.8 kB / 0.6107 GB, free: 364 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.1008, allocations: 12 kB / 0.6107 GB, free: 352 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.315e-05/0.1008, allocations: 27.92 kB / 0.6107 GB, free: 324 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.262e-05/0.1009, allocations: 45.7 kB / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1009, allocations: 0 / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000199/0.1011, allocations: 123.3 kB / 0.6109 GB, free: 136 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.1012, allocations: 33.7 kB / 0.6109 GB, free: 96 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1012, allocations: 7.938 kB / 0.6109 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1012, allocations: 3.953 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.1013, allocations: 12 kB / 0.611 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1013, allocations: 0 / 0.611 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.1014, allocations: 3.984 kB / 0.611 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1014, allocations: 4 kB / 0.611 GB, free: 64 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.2753/0.3768, allocations: 119.5 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3768, allocations: 12.41 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.3769, allocations: 13.66 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3769, allocations: 2.469 kB / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.377, allocations: 0 / 0.6111 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.377, allocations: 88.02 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3771, allocations: 1.484 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.3771, allocations: 6.922 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.3772, allocations: 4.953 kB / 0.6112 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002296/0.3775, allocations: 146.8 kB / 0.6113 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002355/0.3777, allocations: 247.4 kB / 0.6116 GB, free: 89.91 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.536e-05/0.3778, allocations: 14.45 kB / 0.6116 GB, free: 89.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3779, allocations: 136.8 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of Backend: time 5.61e-07/0.3779, allocations: 1.156 kB / 0.6117 GB, free: 89.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3794, allocations: 433.6 kB / 0.6121 GB, free: 89.71 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006452/0.3801, allocations: 0.644 MB / 0.6128 GB, free: 89.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006048/0.3861, allocations: 1.425 MB / 0.6142 GB, free: 89.09 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.verboseRead,t_new.y[1],time