Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003785/0.00379, allocations: 352.5 kB / 15.95 MB, free: 6.203 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.513/3.513, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003736/0.003735, allocations: 228.5 kB / 397.9 MB, free: 4.969 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.546/0.546, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004599, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08477, allocations: 48.71 MB / 0.6068 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001886/0.08671, allocations: 1.26 MB / 0.608 GB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.08763, allocations: 407.5 kB / 0.6084 GB, free: 2.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.0877, allocations: 0 / 0.6084 GB, free: 2.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.08802, allocations: 55.86 kB / 0.6084 GB, free: 2.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.08821, allocations: 43.88 kB / 0.6085 GB, free: 2.867 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.08842, allocations: 51.81 kB / 0.6085 GB, free: 2.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.08856, allocations: 59.83 kB / 0.6086 GB, free: 2.758 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.08863, allocations: 7.984 kB / 0.6086 GB, free: 2.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.08871, allocations: 35.84 kB / 0.6086 GB, free: 2.715 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.08881, allocations: 31.84 kB / 0.6086 GB, free: 2.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.08887, allocations: 4 kB / 0.6086 GB, free: 2.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.08899, allocations: 31.97 kB / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.08904, allocations: 19.92 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.08909, allocations: 25.7 kB / 0.6087 GB, free: 2.598 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.08925, allocations: 68.14 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.08927, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.08928, allocations: 0 / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.08929, allocations: 0 / 0.6088 GB, free: 2.531 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.0004431/0.08975, allocations: 412.6 kB / 0.6092 GB, free: 2.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.0898, allocations: 8.031 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.08985, allocations: 11.86 kB / 0.6092 GB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.09005, allocations: 194.9 kB / 0.6094 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.09008, allocations: 0 / 0.6094 GB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.0901, allocations: 7.938 kB / 0.6094 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.09021, allocations: 37.69 kB / 0.6094 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.09023, allocations: 0 / 0.6094 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.09025, allocations: 0 / 0.6094 GB, free: 1.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.09027, allocations: 7.953 kB / 0.6094 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.09033, allocations: 11.98 kB / 0.6094 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.09051, allocations: 173.6 kB / 0.6096 GB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.09059, allocations: 30.56 kB / 0.6096 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.09063, allocations: 8.922 kB / 0.6097 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.09066, allocations: 0 / 0.6097 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.09082, allocations: 59.41 kB / 0.6097 GB, free: 1.414 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.09084, allocations: 0 / 0.6097 GB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002165/0.09106, allocations: 69.52 kB / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.0911, allocations: 55.36 kB / 0.6098 GB, free: 1.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.09128, allocations: 171.8 kB / 0.61 GB, free: 1.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.09131, allocations: 29.7 kB / 0.61 GB, free: 1.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.09136, allocations: 96.12 kB / 0.6101 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.09139, allocations: 3.906 kB / 0.6101 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.09141, allocations: 8 kB / 0.6101 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/0.09148, allocations: 322.8 kB / 0.6104 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.09153, allocations: 12 kB / 0.6104 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.09158, allocations: 15.98 kB / 0.6105 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.09166, allocations: 41.7 kB / 0.6105 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.09167, allocations: 0 / 0.6105 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000169/0.09185, allocations: 103.2 kB / 0.6106 GB, free: 452 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.09189, allocations: 33.7 kB / 0.6106 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.09191, allocations: 0 / 0.6106 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.09193, allocations: 0 / 0.6106 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.09202, allocations: 11.98 kB / 0.6106 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.09204, allocations: 0 / 0.6106 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.09211, allocations: 8.078 kB / 0.6106 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.09214, allocations: 8 kB / 0.6107 GB, free: 384 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 8.939e-05/0.09223, allocations: 124.2 kB / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.09226, allocations: 7.906 kB / 0.6108 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.09231, allocations: 8.25 kB / 0.6108 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.09232, allocations: 4 kB / 0.6108 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.09233, allocations: 3.938 kB / 0.6108 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.09238, allocations: 85.02 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.09242, allocations: 11.88 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.09247, allocations: 4.188 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.09251, allocations: 0 / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2768/0.3693, allocations: 140.9 kB / 0.611 GB, free: 90.56 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001973/0.3695, allocations: 227.8 kB / 0.6112 GB, free: 90.36 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.711e-05/0.3696, allocations: 11.02 kB / 0.6113 GB, free: 90.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3698, allocations: 136.3 kB / 0.6114 GB, free: 90.28 MB / 362.7 MB Notification: Performance of Backend: time 8.71e-07/0.3698, allocations: 0.7812 kB / 0.6114 GB, free: 90.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.3712, allocations: 382.4 kB / 0.6118 GB, free: 90.16 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006311/0.3719, allocations: 0.6203 MB / 0.6124 GB, free: 89.56 MB / 362.7 MB Notification: Performance of Templates: time 0.005634/0.3776, allocations: 1.201 MB / 0.6135 GB, free: 89.55 MB / 362.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5006]=3.500000 File[7147]=5.000100 " 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.verboseRead,t_new.y[1],time