Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002688/0.002694, allocations: 354.7 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.441/3.441, allocations: 341.5 MB / 358.2 MB, free: 28.77 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.003528/0.003527, allocations: 220.7 kB / 397.9 MB, free: 6.164 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.5131/0.5131, allocations: 76.1 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.000671, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09259, allocations: 48.72 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002067/0.09472, allocations: 1.296 MB / 0.608 GB, free: 10.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.09572, allocations: 427.4 kB / 0.6084 GB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.09579, allocations: 4 kB / 0.6084 GB, free: 9.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.09609, allocations: 35.88 kB / 0.6085 GB, free: 9.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.09626, allocations: 35.84 kB / 0.6085 GB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.09652, allocations: 55.81 kB / 0.6086 GB, free: 9.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.09666, allocations: 63.83 kB / 0.6086 GB, free: 9.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.09677, allocations: 11.97 kB / 0.6086 GB, free: 9.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.738e-05/0.09685, allocations: 23.86 kB / 0.6087 GB, free: 9.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.09693, allocations: 23.92 kB / 0.6087 GB, free: 9.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.09696, allocations: 0 / 0.6087 GB, free: 9.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.09709, allocations: 47.91 kB / 0.6087 GB, free: 9.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.09715, allocations: 15.98 kB / 0.6087 GB, free: 9.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.09721, allocations: 37.64 kB / 0.6088 GB, free: 9.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.09739, allocations: 80.11 kB / 0.6088 GB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.09741, allocations: 0 / 0.6088 GB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.09742, allocations: 0 / 0.6088 GB, free: 9.363 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.09744, allocations: 4 kB / 0.6089 GB, free: 9.359 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.0004922/0.09794, allocations: 412.7 kB / 0.6092 GB, free: 8.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.09799, allocations: 8.031 kB / 0.6093 GB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.09805, allocations: 11.81 kB / 0.6093 GB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.09826, allocations: 199.4 kB / 0.6095 GB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.09829, allocations: 4 kB / 0.6095 GB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.09833, allocations: 3.984 kB / 0.6095 GB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.09846, allocations: 45.67 kB / 0.6095 GB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.09848, allocations: 0 / 0.6095 GB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.0985, allocations: 4 kB / 0.6095 GB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.09852, allocations: 0 / 0.6095 GB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.09859, allocations: 11.98 kB / 0.6095 GB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.09896, allocations: 288.8 kB / 0.6098 GB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.09919, allocations: 42.5 kB / 0.6098 GB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.09924, allocations: 12.86 kB / 0.6099 GB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.09927, allocations: 0 / 0.6099 GB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.09945, allocations: 55.48 kB / 0.6099 GB, free: 8.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.09946, allocations: 3.938 kB / 0.6099 GB, free: 8.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000447/0.09992, allocations: 121.3 kB / 0.61 GB, free: 7.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.09996, allocations: 51.41 kB / 0.6101 GB, free: 7.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1002, allocations: 190.3 kB / 0.6103 GB, free: 7.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1002, allocations: 25.7 kB / 0.6103 GB, free: 7.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.427e-05/0.1003, allocations: 100.1 kB / 0.6104 GB, free: 7.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1003, allocations: 15.8 kB / 0.6104 GB, free: 7.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.1003, allocations: 0 / 0.6104 GB, free: 7.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.1004, allocations: 326.8 kB / 0.6107 GB, free: 7.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.1005, allocations: 24 kB / 0.6107 GB, free: 7.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.1005, allocations: 19.92 kB / 0.6107 GB, free: 7.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.89e-05/0.1006, allocations: 49.7 kB / 0.6108 GB, free: 7.148 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1006, allocations: 0 / 0.6108 GB, free: 7.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002022/0.1008, allocations: 115.3 kB / 0.6109 GB, free: 7.023 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1009, allocations: 41.62 kB / 0.6109 GB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1009, allocations: 0 / 0.6109 GB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1009, allocations: 0 / 0.6109 GB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.101, allocations: 8 kB / 0.6109 GB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.101, allocations: 3.938 kB / 0.611 GB, free: 6.965 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.1011, allocations: 8 kB / 0.611 GB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.1011, allocations: 7.984 kB / 0.611 GB, free: 6.949 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 9.603e-05/0.1012, allocations: 127.1 kB / 0.6111 GB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1013, allocations: 11.81 kB / 0.6111 GB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.661e-05/0.1013, allocations: 16.3 kB / 0.6111 GB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1014, allocations: 0 / 0.6111 GB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1014, allocations: 0 / 0.6111 GB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.1014, allocations: 85.11 kB / 0.6112 GB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1014, allocations: 4 kB / 0.6112 GB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.1015, allocations: 8 kB / 0.6112 GB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1015, allocations: 11.94 kB / 0.6112 GB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001731/0.1017, allocations: 145.2 kB / 0.6114 GB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001791/0.1019, allocations: 242.7 kB / 0.6116 GB, free: 6.258 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.675e-05/0.102, allocations: 15.98 kB / 0.6116 GB, free: 6.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1021, allocations: 140 kB / 0.6117 GB, free: 6.105 MB / 282.7 MB Notification: Performance of Backend: time 1.012e-06/0.1021, allocations: 4 kB / 0.6117 GB, free: 6.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.1035, allocations: 434.3 kB / 0.6122 GB, free: 5.785 MB / 282.7 MB Notification: Performance of SimCode: time 0.000598/0.1041, allocations: 0.6551 MB / 0.6128 GB, free: 5.078 MB / 282.7 MB Notification: Performance of Templates: time 0.005297/0.1094, allocations: 1.424 MB / 0.6142 GB, free: 3.664 MB / 282.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],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