Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003222/0.003228, allocations: 368.8 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.187/4.187, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003677/0.003676, allocations: 234.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5502/0.5502, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004525, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1055, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002054/0.1077, allocations: 1.359 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1092, allocations: 0.7112 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.1093, allocations: 4 kB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.1096, allocations: 43.88 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1098, allocations: 39.81 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.11, allocations: 51.89 kB / 0.6823 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1102, allocations: 83.7 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.339e-05/0.1103, allocations: 12 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.1104, allocations: 39.83 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.1105, allocations: 27.86 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1105, allocations: 0 / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1106, allocations: 43.97 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.1107, allocations: 19.92 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.1107, allocations: 37.64 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1109, allocations: 100 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.111, allocations: 0 / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.111, allocations: 4 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.111, allocations: 0 / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005192/0.1115, allocations: 462.2 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1116, allocations: 11.97 kB / 0.6831 GB, free: 38.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.1116, allocations: 15.81 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1118, allocations: 198.8 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1119, allocations: 4 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1119, allocations: 7.984 kB / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.1121, allocations: 57.67 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1121, allocations: 0 / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1122, allocations: 0 / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1122, allocations: 3.953 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1123, allocations: 27.92 kB / 0.6834 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.1127, allocations: 300.9 kB / 0.6837 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.1129, allocations: 62.61 kB / 0.6837 GB, free: 37.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.113, allocations: 24.84 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1131, allocations: 0 / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.1133, allocations: 71.34 kB / 0.6838 GB, free: 37.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.1133, allocations: 0 / 0.6838 GB, free: 37.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007728/0.1141, allocations: 177.1 kB / 0.684 GB, free: 37.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1142, allocations: 55.41 kB / 0.684 GB, free: 37.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1144, allocations: 224.4 kB / 0.6842 GB, free: 37.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1144, allocations: 29.7 kB / 0.6843 GB, free: 37.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1145, allocations: 108 kB / 0.6844 GB, free: 37.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1145, allocations: 27.64 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.1146, allocations: 0 / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.1146, allocations: 326.8 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1148, allocations: 27.98 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1149, allocations: 57.58 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.115, allocations: 61.7 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.115, allocations: 0 / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003538/0.1154, allocations: 159.1 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.1155, allocations: 45.64 kB / 0.685 GB, free: 36.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1155, allocations: 80 / 0.685 GB, free: 36.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1155, allocations: 0 / 0.685 GB, free: 36.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1157, allocations: 20.36 kB / 0.6851 GB, free: 36.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1157, allocations: 8.016 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.1158, allocations: 4 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1158, allocations: 12 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001175/0.1159, allocations: 129.8 kB / 0.6852 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.116, allocations: 15.81 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.116, allocations: 21.34 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1161, allocations: 0 / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1161, allocations: 96 / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.1161, allocations: 104.9 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.1162, allocations: 7.938 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.1163, allocations: 4 kB / 0.6854 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1163, allocations: 3.984 kB / 0.6854 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003017/0.1166, allocations: 176.9 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000324/0.117, allocations: 282.5 kB / 0.6858 GB, free: 35.5 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.424e-05/0.1171, allocations: 27.97 kB / 0.6858 GB, free: 35.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1173, allocations: 167.2 kB / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of Backend: time 6.42e-07/0.1173, allocations: 0 / 0.686 GB, free: 35.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.1191, allocations: 0.5281 MB / 0.6865 GB, free: 34.92 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006936/0.1198, allocations: 0.7015 MB / 0.6872 GB, free: 34.17 MB / 346.7 MB Notification: Performance of Templates: time 0.005865/0.1257, allocations: 1.65 MB / 0.6888 GB, free: 32.53 MB / 346.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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.verboseRead,t_new.y[1],time