Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004016/0.004016, allocations: 351.9 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.975/3.975, 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.003558/0.003558, allocations: 221.2 kB / 397.9 MB, free: 4.984 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.5615/0.5615, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007715/0.0007718, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.0976, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001913/0.09957, allocations: 1.26 MB / 0.608 GB, free: 3.371 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.1005, allocations: 415.5 kB / 0.6084 GB, free: 2.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.1006, allocations: 0 / 0.6084 GB, free: 2.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1009, allocations: 47.86 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1011, allocations: 35.89 kB / 0.6085 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1013, allocations: 55.81 kB / 0.6085 GB, free: 2.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.1015, allocations: 59.83 kB / 0.6086 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.253e-05/0.1016, allocations: 4 kB / 0.6086 GB, free: 2.762 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.1016, allocations: 27.86 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.1017, allocations: 31.89 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1018, allocations: 0 / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1019, allocations: 24 kB / 0.6087 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.102, allocations: 31.91 kB / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.102, allocations: 37.64 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1022, allocations: 84.05 kB / 0.6088 GB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1022, allocations: 0 / 0.6088 GB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1022, allocations: 0 / 0.6088 GB, free: 2.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1023, allocations: 0 / 0.6088 GB, free: 2.523 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005206/0.1028, allocations: 420.5 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1028, allocations: 11.97 kB / 0.6092 GB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.1029, allocations: 15.77 kB / 0.6092 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1031, allocations: 202.9 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1031, allocations: 3.938 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1032, allocations: 0 / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1033, allocations: 41.69 kB / 0.6095 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1033, allocations: 0 / 0.6095 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1033, allocations: 3.984 kB / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1033, allocations: 0 / 0.6095 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.555e-05/0.1034, allocations: 7.953 kB / 0.6095 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.1036, allocations: 189.6 kB / 0.6097 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.1037, allocations: 30.52 kB / 0.6097 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.1037, allocations: 16.91 kB / 0.6097 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1038, allocations: 3.938 kB / 0.6097 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1039, allocations: 59.39 kB / 0.6098 GB, free: 1.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.1039, allocations: 0 / 0.6098 GB, free: 1.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002238/0.1042, allocations: 69.48 kB / 0.6098 GB, free: 1.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.1042, allocations: 59.34 kB / 0.6099 GB, free: 1.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1045, allocations: 240.4 kB / 0.6101 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1045, allocations: 25.7 kB / 0.6101 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/0.1046, allocations: 108.1 kB / 0.6102 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1046, allocations: 7.906 kB / 0.6103 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1046, allocations: 4 kB / 0.6103 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.1047, allocations: 330.8 kB / 0.6106 GB, free: 496 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.1048, allocations: 12 kB / 0.6106 GB, free: 484 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.1048, allocations: 16 kB / 0.6106 GB, free: 468 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.1049, allocations: 45.69 kB / 0.6106 GB, free: 416 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1049, allocations: 0 / 0.6106 GB, free: 416 kB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002027/0.1051, allocations: 99.3 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.1052, allocations: 37.7 kB / 0.6108 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1052, allocations: 0 / 0.6108 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.1052, allocations: 0 / 0.6108 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.1053, allocations: 11.92 kB / 0.6108 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1054, allocations: 4 kB / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.1054, allocations: 3.906 kB / 0.6108 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1055, allocations: 8 kB / 0.6108 GB, free: 232 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 (5): * Single equations (assignments): 4 * 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.000104/0.1056, allocations: 132.2 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.1056, allocations: 11.91 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1057, allocations: 12.94 kB / 0.6109 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1057, allocations: 0 / 0.6109 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1057, allocations: 7.922 kB / 0.611 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2812/0.3869, allocations: 89.08 kB / 0.611 GB, free: 90.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.3871, allocations: 3.344 kB / 0.611 GB, free: 90.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3872, allocations: 5.031 kB / 0.611 GB, free: 90.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.3873, allocations: 2.969 kB / 0.6111 GB, free: 90.61 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000257/0.3875, allocations: 133.7 kB / 0.6112 GB, free: 90.51 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002304/0.3878, allocations: 228.6 kB / 0.6114 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.673e-05/0.3879, allocations: 10.31 kB / 0.6114 GB, free: 90.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003122/0.3882, allocations: 186.8 kB / 0.6116 GB, free: 90.23 MB / 362.7 MB Notification: Performance of Backend: time 7.02e-07/0.3882, allocations: 2.203 kB / 0.6116 GB, free: 90.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3901, allocations: 388.2 kB / 0.612 GB, free: 90.1 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008578/0.391, allocations: 0.6872 MB / 0.6126 GB, free: 89.49 MB / 362.7 MB Notification: Performance of Templates: time 0.00714/0.3982, allocations: 1.239 MB / 0.6138 GB, free: 89.48 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5007]=2.500000 File[6005]=3.000500 " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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