Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002715/0.00272, allocations: 369.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 3.978/3.978, allocations: 388.9 MB / 405.6 MB, free: 10.26 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.003516/0.003516, allocations: 241.1 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.616/0.616, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000632/0.0006323, allocations: 19.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09578, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001958/0.09779, allocations: 1.363 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.09922, allocations: 0.7073 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.09934, allocations: 4 kB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.09963, allocations: 39.89 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.09982, allocations: 31.83 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1, allocations: 55.89 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1002, allocations: 83.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.1003, allocations: 7.984 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.1004, allocations: 39.84 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.1005, allocations: 27.86 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1005, allocations: 4 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1006, allocations: 39.97 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.1007, allocations: 19.92 kB / 0.6825 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.1008, allocations: 37.64 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1009, allocations: 96.02 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.101, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.101, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.101, allocations: 0 / 0.6826 GB, free: 39.08 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.000502/0.1015, allocations: 461.6 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1015, allocations: 11.97 kB / 0.683 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1016, allocations: 7.906 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1018, allocations: 202.8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1019, allocations: 4 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1019, allocations: 4 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1021, allocations: 57.61 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1021, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1021, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1022, allocations: 15.89 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.886e-05/0.1023, allocations: 15.98 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.1026, allocations: 296.8 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1029, allocations: 62.61 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.549e-05/0.103, allocations: 20.86 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.103, allocations: 0 / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.1033, allocations: 79.33 kB / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.906e-06/0.1033, allocations: 0 / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000713/0.104, allocations: 185.1 kB / 0.6839 GB, free: 37.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.104, allocations: 51.41 kB / 0.684 GB, free: 37.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1042, allocations: 190.2 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1043, allocations: 33.7 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.1043, allocations: 104 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1044, allocations: 27.64 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.1044, allocations: 0 / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.1045, allocations: 326.8 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1046, allocations: 27.98 kB / 0.6847 GB, free: 36.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1047, allocations: 49.64 kB / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1049, allocations: 61.7 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1049, allocations: 4 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003307/0.1052, allocations: 173.2 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.1053, allocations: 33.66 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1053, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1053, allocations: 0 / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1055, allocations: 15.98 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1055, allocations: 0 / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.1056, allocations: 4 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.1056, allocations: 12.03 kB / 0.685 GB, free: 36.34 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.0001103/0.1057, allocations: 126.6 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.1057, allocations: 7.906 kB / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.1058, allocations: 21.36 kB / 0.6852 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1058, allocations: 7.969 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1058, allocations: 96 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1059, allocations: 100.9 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.106, allocations: 3.938 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.199e-05/0.106, allocations: 12 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1061, allocations: 7.984 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002795/0.1064, allocations: 172.9 kB / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002866/0.1067, allocations: 274.6 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001059/0.1068, allocations: 31.92 kB / 0.6857 GB, free: 35.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.1069, allocations: 145.8 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of Backend: time 8.41e-07/0.1069, allocations: 4 kB / 0.6859 GB, free: 35.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.1087, allocations: 0.5317 MB / 0.6864 GB, free: 35.02 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006638/0.1094, allocations: 0.6779 MB / 0.6871 GB, free: 34.3 MB / 346.7 MB Notification: Performance of Templates: time 0.005901/0.1153, allocations: 1.633 MB / 0.6887 GB, free: 32.67 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.timeScale,t_new.verboseRead,t_new.y[1],time