Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003793/0.003798, allocations: 368.3 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.303/4.303, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003617/0.003617, allocations: 229.7 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.5985/0.5985, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004491, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002042/0.1038, allocations: 1.351 MB / 0.6814 GB, free: 40.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1052, allocations: 0.7228 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.1053, allocations: 0 / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1055, allocations: 35.89 kB / 0.6822 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1057, allocations: 23.86 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1059, allocations: 55.88 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.1061, allocations: 83.7 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1062, allocations: 15.98 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.1063, allocations: 31.86 kB / 0.6824 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.1064, allocations: 35.83 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1064, allocations: 4 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1066, allocations: 32 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.1066, allocations: 11.92 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1067, allocations: 41.64 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1068, allocations: 92.02 kB / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1069, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1069, allocations: 0 / 0.6826 GB, free: 39.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1069, allocations: 0 / 0.6826 GB, free: 39.11 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.0004832/0.1074, allocations: 453.9 kB / 0.683 GB, free: 38.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1074, allocations: 12.83 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.1075, allocations: 7.906 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1077, allocations: 199.4 kB / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1077, allocations: 0 / 0.6832 GB, free: 38.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1078, allocations: 8 kB / 0.6832 GB, free: 38.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.108, allocations: 57.61 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.108, allocations: 4 kB / 0.6833 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.108, allocations: 4 kB / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.108, allocations: 7.938 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1081, allocations: 19.94 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.1085, allocations: 288.8 kB / 0.6836 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1087, allocations: 62.61 kB / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.577e-05/0.1088, allocations: 24.84 kB / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1089, allocations: 0 / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1091, allocations: 71.34 kB / 0.6837 GB, free: 37.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1091, allocations: 0 / 0.6837 GB, free: 37.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006806/0.1098, allocations: 173.2 kB / 0.6839 GB, free: 37.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.1098, allocations: 59.39 kB / 0.684 GB, free: 37.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.11, allocations: 177.9 kB / 0.6841 GB, free: 37.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.11, allocations: 25.7 kB / 0.6842 GB, free: 37.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.1101, allocations: 104.1 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1101, allocations: 23.64 kB / 0.6843 GB, free: 37.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.1101, allocations: 4 kB / 0.6843 GB, free: 37.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1103, allocations: 322.8 kB / 0.6846 GB, free: 36.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1104, allocations: 31.92 kB / 0.6846 GB, free: 36.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1105, allocations: 49.7 kB / 0.6847 GB, free: 36.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1106, allocations: 69.62 kB / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.1107, allocations: 0 / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003204/0.111, allocations: 151.3 kB / 0.6849 GB, free: 36.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.111, allocations: 37.66 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1111, allocations: 3.984 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1111, allocations: 0 / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1112, allocations: 20.31 kB / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1112, allocations: 0 / 0.6849 GB, free: 36.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.1113, allocations: 12.03 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.1114, allocations: 11.98 kB / 0.685 GB, free: 36.42 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 9.405e-05/0.1115, allocations: 117.8 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.1115, allocations: 7.906 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.1116, allocations: 20.66 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1116, allocations: 0 / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1116, allocations: 4 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.167e-05/0.1117, allocations: 96.91 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1117, allocations: 3.938 kB / 0.6852 GB, free: 36.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.1118, allocations: 12 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1118, allocations: 3.984 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002728/0.1121, allocations: 176.9 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002831/0.1124, allocations: 278.6 kB / 0.6856 GB, free: 35.66 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.095e-05/0.1125, allocations: 27.98 kB / 0.6857 GB, free: 35.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.1126, allocations: 124.1 kB / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of Backend: time 6.91e-07/0.1126, allocations: 0 / 0.6858 GB, free: 35.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.1143, allocations: 0.5301 MB / 0.6863 GB, free: 35.12 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006017/0.1149, allocations: 0.6586 MB / 0.687 GB, free: 34.42 MB / 346.7 MB Notification: Performance of Templates: time 0.005594/0.1205, allocations: 1.633 MB / 0.6885 GB, free: 32.8 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.timeScale,t_new.verboseRead,t_new.y[1],time