Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002611/0.002615, allocations: 364.4 kB / 15.96 MB, free: 6.203 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.092/4.092, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003548/0.003548, allocations: 239.2 kB / 451 MB, free: 145 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.5419/0.5419, allocations: 80.03 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004546, allocations: 19.97 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001865/0.1031, allocations: 1.312 MB / 0.6814 GB, free: 40.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1044, allocations: 0.7034 MB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.1045, allocations: 3.938 kB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1048, allocations: 51.86 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.105, allocations: 43.88 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.1052, allocations: 47.89 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1054, allocations: 91.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.1054, allocations: 11.84 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.1055, allocations: 35.84 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.1056, allocations: 39.83 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1057, allocations: 4 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.642e-05/0.1058, allocations: 31.92 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.1058, allocations: 15.92 kB / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.1059, allocations: 33.7 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.106, allocations: 76.05 kB / 0.6825 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1061, allocations: 8 kB / 0.6826 GB, free: 39.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1061, allocations: 0 / 0.6826 GB, free: 39.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1061, allocations: 0 / 0.6826 GB, free: 39.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004638/0.1066, allocations: 454.2 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1066, allocations: 8.828 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1067, allocations: 11.81 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1069, allocations: 190.6 kB / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.1069, allocations: 4 kB / 0.6832 GB, free: 38.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1069, allocations: 8 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1071, allocations: 49.67 kB / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1072, allocations: 0 / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1072, allocations: 0 / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1072, allocations: 3.953 kB / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.1073, allocations: 19.92 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1075, allocations: 189.6 kB / 0.6834 GB, free: 38.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1078, allocations: 50.62 kB / 0.6835 GB, free: 37.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.1079, allocations: 24.84 kB / 0.6835 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1079, allocations: 4 kB / 0.6835 GB, free: 37.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1081, allocations: 59.39 kB / 0.6836 GB, free: 37.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.056e-06/0.1081, allocations: 0 / 0.6836 GB, free: 37.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003617/0.1085, allocations: 97.52 kB / 0.6837 GB, free: 37.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.1085, allocations: 67.3 kB / 0.6837 GB, free: 37.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1087, allocations: 178.2 kB / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1088, allocations: 29.7 kB / 0.6839 GB, free: 37.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.1088, allocations: 104 kB / 0.684 GB, free: 37.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1089, allocations: 15.83 kB / 0.6841 GB, free: 37.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.1089, allocations: 4 kB / 0.6841 GB, free: 37.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.109, allocations: 322.8 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.792e-05/0.1091, allocations: 23.98 kB / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1092, allocations: 37.7 kB / 0.6844 GB, free: 36.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1093, allocations: 57.64 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1093, allocations: 0 / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003076/0.1097, allocations: 139.2 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.1097, allocations: 41.69 kB / 0.6846 GB, free: 36.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1097, allocations: 80 / 0.6846 GB, free: 36.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1098, allocations: 0 / 0.6846 GB, free: 36.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1099, allocations: 8 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1099, allocations: 12.02 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.11, allocations: 15.84 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.11, allocations: 4.312 kB / 0.6847 GB, free: 36.66 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 (8): * Single equations (assignments): 7 * 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.0001062/0.1101, allocations: 125.8 kB / 0.6848 GB, free: 36.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1102, allocations: 7.906 kB / 0.6848 GB, free: 36.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.1102, allocations: 12.3 kB / 0.6848 GB, free: 36.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1102, allocations: 0 / 0.6848 GB, free: 36.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1103, allocations: 4 kB / 0.6848 GB, free: 36.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.1103, allocations: 100.9 kB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1104, allocations: 7.953 kB / 0.6849 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.659e-05/0.1104, allocations: 0 / 0.6849 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.1105, allocations: 11.92 kB / 0.6849 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002382/0.1107, allocations: 149 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002479/0.111, allocations: 254.7 kB / 0.6853 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.951e-05/0.1111, allocations: 19.98 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1112, allocations: 146 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of Backend: time 1.863e-06/0.1112, allocations: 0 / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.1128, allocations: 482.8 kB / 0.686 GB, free: 35.45 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006051/0.1134, allocations: 0.643 MB / 0.6866 GB, free: 34.76 MB / 346.7 MB Notification: Performance of Templates: time 0.005087/0.1185, allocations: 1.389 MB / 0.6879 GB, free: 33.39 MB / 346.7 MB "" 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_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.timeScale,t_new.verboseRead,t_new.y[1],time