Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002573/0.002573, allocations: 351.4 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.656/3.656, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003509/0.003508, allocations: 229.2 kB / 397.9 MB, free: 4.895 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.49/0.49, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004818, allocations: 20 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09144, allocations: 48.71 MB / 0.6068 GB, free: 4.613 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003401/0.09492, allocations: 1.299 MB / 0.608 GB, free: 3.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.09649, allocations: 427.4 kB / 0.6084 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.09664, allocations: 0 / 0.6084 GB, free: 2.879 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.09712, allocations: 43.89 kB / 0.6085 GB, free: 2.836 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.09748, allocations: 39.88 kB / 0.6085 GB, free: 2.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.09801, allocations: 59.81 kB / 0.6086 GB, free: 2.738 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.09827, allocations: 63.83 kB / 0.6086 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.09847, allocations: 4 kB / 0.6086 GB, free: 2.672 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.0986, allocations: 35.83 kB / 0.6087 GB, free: 2.637 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.09871, allocations: 23.92 kB / 0.6087 GB, free: 2.613 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.09877, allocations: 4 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.09899, allocations: 39.94 kB / 0.6087 GB, free: 2.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.09907, allocations: 31.83 kB / 0.6088 GB, free: 2.539 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.09918, allocations: 33.7 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.09949, allocations: 88.11 kB / 0.6089 GB, free: 2.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.09953, allocations: 3.938 kB / 0.6089 GB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.09954, allocations: 0 / 0.6089 GB, free: 2.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.09957, allocations: 7.938 kB / 0.6089 GB, free: 2.402 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.0006952/0.1003, allocations: 432.5 kB / 0.6093 GB, free: 1.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.1004, allocations: 8.031 kB / 0.6093 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.1004, allocations: 19.77 kB / 0.6093 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1007, allocations: 202.9 kB / 0.6095 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.1008, allocations: 0 / 0.6095 GB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1008, allocations: 4 kB / 0.6095 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.101, allocations: 45.62 kB / 0.6096 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.101, allocations: 0 / 0.6096 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1011, allocations: 4 kB / 0.6096 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1011, allocations: 0 / 0.6096 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.1012, allocations: 19.88 kB / 0.6096 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.1017, allocations: 288.8 kB / 0.6099 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.1021, allocations: 42.56 kB / 0.6099 GB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.1021, allocations: 8.859 kB / 0.6099 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1022, allocations: 0 / 0.6099 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.1024, allocations: 67.42 kB / 0.61 GB, free: 1.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.616e-06/0.1025, allocations: 4 kB / 0.61 GB, free: 1.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007015/0.1032, allocations: 129.3 kB / 0.6101 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.1032, allocations: 51.41 kB / 0.6102 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.1037, allocations: 247.4 kB / 0.6104 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1037, allocations: 25.7 kB / 0.6104 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.1038, allocations: 108.1 kB / 0.6105 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1039, allocations: 15.8 kB / 0.6105 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.1039, allocations: 4 kB / 0.6105 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.104, allocations: 326.8 kB / 0.6109 GB, free: 168 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.1041, allocations: 23.98 kB / 0.6109 GB, free: 144 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.1042, allocations: 12 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1044, allocations: 49.69 kB / 0.6109 GB, free: 76 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1044, allocations: 0 / 0.6109 GB, free: 76 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.2766/0.381, allocations: 124.2 kB / 0.6111 GB, free: 90.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.3811, allocations: 35.67 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3812, allocations: 2.688 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.3812, allocations: 1.719 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.3813, allocations: 11.89 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3813, allocations: 2.969 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.3814, allocations: 4.141 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.3815, allocations: 3.781 kB / 0.6111 GB, free: 90.4 MB / 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.0001444/0.3816, allocations: 133.7 kB / 0.6112 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3817, allocations: 14.88 kB / 0.6113 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.3817, allocations: 18.66 kB / 0.6113 GB, free: 90.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3818, allocations: 4.734 kB / 0.6113 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3818, allocations: 4.359 kB / 0.6113 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.3818, allocations: 92.75 kB / 0.6114 GB, free: 90.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.3819, allocations: 3.625 kB / 0.6114 GB, free: 90.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.3819, allocations: 2.344 kB / 0.6114 GB, free: 90.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.382, allocations: 3.297 kB / 0.6114 GB, free: 90.19 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002311/0.3822, allocations: 147 kB / 0.6115 GB, free: 90.08 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000213/0.3825, allocations: 257.4 kB / 0.6118 GB, free: 89.88 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.584e-05/0.3825, allocations: 13.11 kB / 0.6118 GB, free: 89.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003597/0.3829, allocations: 186.3 kB / 0.612 GB, free: 89.8 MB / 362.7 MB Notification: Performance of Backend: time 1.523e-06/0.3829, allocations: 1.594 kB / 0.612 GB, free: 89.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.386, allocations: 439.1 kB / 0.6124 GB, free: 89.67 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008512/0.3869, allocations: 0.6808 MB / 0.613 GB, free: 89.05 MB / 362.7 MB Notification: Performance of Templates: time 0.006513/0.3934, allocations: 1.451 MB / 0.6145 GB, free: 89.04 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],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.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