Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003988/0.003987, 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.964/3.964, 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.00355/0.00355, allocations: 229.1 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.4731/0.4731, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005121, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09692, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002511/0.0995, allocations: 1.307 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1007, allocations: 411.5 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.1008, allocations: 4 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1011, allocations: 31.89 kB / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1013, allocations: 23.91 kB / 0.6085 GB, free: 2.863 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1016, allocations: 67.8 kB / 0.6085 GB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1017, allocations: 59.84 kB / 0.6086 GB, free: 2.738 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.942e-05/0.1018, allocations: 4 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.1019, allocations: 27.86 kB / 0.6086 GB, free: 2.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.102, allocations: 27.89 kB / 0.6086 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1021, allocations: 0 / 0.6086 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1022, allocations: 35.94 kB / 0.6087 GB, free: 2.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.1023, allocations: 15.98 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.1024, allocations: 41.58 kB / 0.6087 GB, free: 2.582 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1026, allocations: 76.11 kB / 0.6088 GB, free: 2.508 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1026, allocations: 4 kB / 0.6088 GB, free: 2.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1026, allocations: 0 / 0.6088 GB, free: 2.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1026, allocations: 0 / 0.6088 GB, free: 2.504 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.0005029/0.1031, allocations: 404.6 kB / 0.6092 GB, free: 2.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1032, allocations: 12.03 kB / 0.6092 GB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1033, allocations: 15.86 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1035, allocations: 179 kB / 0.6094 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1035, allocations: 7.938 kB / 0.6094 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1036, allocations: 0 / 0.6094 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1037, allocations: 53.61 kB / 0.6095 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1038, allocations: 3.938 kB / 0.6095 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1038, allocations: 4 kB / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1038, allocations: 4 kB / 0.6095 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.1039, allocations: 15.94 kB / 0.6095 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1043, allocations: 280.8 kB / 0.6098 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.1046, allocations: 50.5 kB / 0.6098 GB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.1047, allocations: 8.859 kB / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1047, allocations: 0 / 0.6098 GB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.1049, allocations: 59.48 kB / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.1049, allocations: 0 / 0.6099 GB, free: 1.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005397/0.1054, allocations: 125.3 kB / 0.61 GB, free: 1.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.1055, allocations: 51.41 kB / 0.61 GB, free: 1.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1057, allocations: 158.1 kB / 0.6102 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1058, allocations: 29.7 kB / 0.6102 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1058, allocations: 92.14 kB / 0.6103 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1059, allocations: 15.73 kB / 0.6103 GB, free: 0.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.1059, allocations: 8 kB / 0.6103 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.106, allocations: 314.8 kB / 0.6106 GB, free: 436 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.1061, allocations: 20 kB / 0.6106 GB, free: 416 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.1062, allocations: 23.97 kB / 0.6107 GB, free: 392 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1063, allocations: 49.64 kB / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1063, allocations: 4 kB / 0.6107 GB, free: 332 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002855/0.1066, allocations: 115.3 kB / 0.6108 GB, free: 204 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.1067, allocations: 37.64 kB / 0.6109 GB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1067, allocations: 4 kB / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1067, allocations: 96 / 0.6109 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.1068, allocations: 15.88 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1069, allocations: 0 / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.107, allocations: 4 kB / 0.6109 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.107, allocations: 4 kB / 0.6109 GB, free: 132 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.3241/0.4311, allocations: 127.7 kB / 0.611 GB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.4312, allocations: 6.656 kB / 0.611 GB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.4313, allocations: 12.5 kB / 0.611 GB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4314, allocations: 0 / 0.611 GB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4314, allocations: 0.7812 kB / 0.611 GB, free: 90.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.4314, allocations: 83.53 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.4315, allocations: 7.344 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.4316, allocations: 4.953 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.4317, allocations: 5.375 kB / 0.6111 GB, free: 90.53 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002409/0.4319, allocations: 146.1 kB / 0.6113 GB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002244/0.4322, allocations: 239.1 kB / 0.6115 GB, free: 90.22 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.454e-05/0.4322, allocations: 18.83 kB / 0.6115 GB, free: 90.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4323, allocations: 127 kB / 0.6116 GB, free: 90.14 MB / 362.7 MB Notification: Performance of Backend: time 8.12e-07/0.4324, allocations: 3.812 kB / 0.6116 GB, free: 90.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.4337, allocations: 420.6 kB / 0.612 GB, free: 90.02 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005805/0.4343, allocations: 0.627 MB / 0.6126 GB, free: 89.42 MB / 362.7 MB Notification: Performance of Templates: time 0.005807/0.4402, allocations: 1.418 MB / 0.614 GB, free: 89.41 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.verboseRead,t_new.y[1],time