Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002815/0.002823, allocations: 370 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 4.192/4.192, allocations: 388.9 MB / 405.6 MB, free: 10.34 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.00359/0.003589, allocations: 226.2 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.528/0.528, allocations: 80.03 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005012, allocations: 19.98 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002109/0.1041, allocations: 1.355 MB / 0.6814 GB, free: 40.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1055, allocations: 0.719 MB / 0.6821 GB, free: 39.58 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.1057, allocations: 0 / 0.6821 GB, free: 39.58 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.106, allocations: 47.88 kB / 0.6822 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.1062, allocations: 43.81 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1065, allocations: 55.83 kB / 0.6823 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1066, allocations: 87.7 kB / 0.6824 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1068, allocations: 11.97 kB / 0.6824 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-05/0.1069, allocations: 31.86 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.107, allocations: 35.84 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.107, allocations: 0 / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1071, allocations: 43.97 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1072, allocations: 23.92 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.1073, allocations: 45.64 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1075, allocations: 100 kB / 0.6826 GB, free: 39.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1075, allocations: 4 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1075, allocations: 0 / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1075, allocations: 0 / 0.6826 GB, free: 39.05 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.0005843/0.1081, allocations: 477.4 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1082, allocations: 8.828 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.1083, allocations: 19.81 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1085, allocations: 203.5 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.1086, allocations: 8 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1086, allocations: 0 / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1088, allocations: 57.67 kB / 0.6834 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1089, allocations: 0 / 0.6834 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1089, allocations: 0 / 0.6834 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1089, allocations: 3.953 kB / 0.6834 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.109, allocations: 27.86 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1095, allocations: 308.8 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.1097, allocations: 54.69 kB / 0.6838 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.1098, allocations: 20.84 kB / 0.6838 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.1098, allocations: 4 kB / 0.6838 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1101, allocations: 75.28 kB / 0.6839 GB, free: 37.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.1101, allocations: 0 / 0.6839 GB, free: 37.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008148/0.1109, allocations: 189.4 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.111, allocations: 51.41 kB / 0.6841 GB, free: 37.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.1113, allocations: 252.7 kB / 0.6843 GB, free: 37.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1113, allocations: 25.7 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.1114, allocations: 116 kB / 0.6845 GB, free: 36.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1114, allocations: 35.62 kB / 0.6845 GB, free: 36.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.1115, allocations: 0 / 0.6845 GB, free: 36.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1116, allocations: 326.8 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1117, allocations: 31.98 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1118, allocations: 45.7 kB / 0.6849 GB, free: 36.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.112, allocations: 65.69 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.112, allocations: 0 / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003587/0.1124, allocations: 171.1 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.1124, allocations: 37.66 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1124, allocations: 0 / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1125, allocations: 4 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1126, allocations: 20.05 kB / 0.6852 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.1126, allocations: 0 / 0.6852 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.1127, allocations: 15.92 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.1128, allocations: 4 kB / 0.6852 GB, free: 36.2 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.0001298/0.1129, allocations: 137.9 kB / 0.6853 GB, free: 36.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1129, allocations: 19.8 kB / 0.6853 GB, free: 36.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.113, allocations: 21.36 kB / 0.6854 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.113, allocations: 0 / 0.6854 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.113, allocations: 0 / 0.6854 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.1131, allocations: 96.91 kB / 0.6854 GB, free: 35.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1132, allocations: 7.938 kB / 0.6855 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-05/0.1132, allocations: 7.984 kB / 0.6855 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1133, allocations: 4 kB / 0.6855 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002879/0.1136, allocations: 180.9 kB / 0.6856 GB, free: 35.7 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002937/0.1139, allocations: 282.6 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.676e-05/0.114, allocations: 23.98 kB / 0.6859 GB, free: 35.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001956/0.1142, allocations: 190 kB / 0.6861 GB, free: 35.2 MB / 346.7 MB Notification: Performance of Backend: time 7.92e-07/0.1142, allocations: 0 / 0.6861 GB, free: 35.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.1161, allocations: 0.5453 MB / 0.6866 GB, free: 34.79 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007501/0.1169, allocations: 0.7217 MB / 0.6873 GB, free: 34.02 MB / 346.7 MB Notification: Performance of Templates: time 0.006164/0.1231, allocations: 1.657 MB / 0.689 GB, free: 32.38 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.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.timeScale,t_new.verboseRead,t_new.y[1],time