Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00268/0.002679, allocations: 364.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 4.057/4.057, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003554/0.003554, allocations: 237.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.5132/0.5132, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000709/0.0007093, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1043, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002173/0.1066, allocations: 1.359 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1081, allocations: 0.7034 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1082, allocations: 4 kB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1086, allocations: 43.83 kB / 0.6822 GB, free: 39.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1088, allocations: 27.89 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1091, allocations: 51.89 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1092, allocations: 87.7 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1094, allocations: 11.92 kB / 0.6823 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.1095, allocations: 35.84 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.1096, allocations: 31.84 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1096, allocations: 4 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1097, allocations: 32 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1098, allocations: 23.91 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1099, allocations: 37.64 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1101, allocations: 88.03 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1101, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1101, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1101, 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.0005517/0.1107, allocations: 453.8 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1108, allocations: 16.83 kB / 0.683 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.1108, allocations: 7.906 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1111, allocations: 206.4 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1111, allocations: 4 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1111, allocations: 7.984 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1113, allocations: 57.61 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1114, allocations: 0 / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1114, allocations: 0 / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1114, allocations: 3.953 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1115, allocations: 31.92 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1119, allocations: 284.9 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.1122, allocations: 58.62 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.1123, allocations: 20.84 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1123, allocations: 4 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.1125, allocations: 71.34 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/0.1126, allocations: 0 / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007385/0.1133, allocations: 189.1 kB / 0.6839 GB, free: 37.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1133, allocations: 51.41 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1135, allocations: 186.2 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1136, allocations: 25.7 kB / 0.6842 GB, free: 37.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.1136, allocations: 100 kB / 0.6843 GB, free: 37.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.1137, allocations: 23.73 kB / 0.6843 GB, free: 37.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.1137, allocations: 4 kB / 0.6843 GB, free: 37.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.1138, allocations: 322.8 kB / 0.6846 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1139, allocations: 27.98 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1141, allocations: 53.64 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1142, allocations: 65.69 kB / 0.6848 GB, free: 36.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1143, allocations: 4 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.1146, allocations: 156.2 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.1147, allocations: 41.69 kB / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1147, allocations: 3.938 kB / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1147, allocations: 0 / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1149, allocations: 15.98 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1149, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.115, allocations: 8 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.115, allocations: 4 kB / 0.685 GB, free: 36.37 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.000118/0.1152, allocations: 125.9 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.1152, allocations: 7.906 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1153, allocations: 20.66 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1153, allocations: 7.984 kB / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1153, allocations: 0 / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1154, allocations: 96.91 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.1154, allocations: 7.938 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.1155, allocations: 4 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1155, allocations: 15.92 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000302/0.1159, allocations: 172.9 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002995/0.1162, allocations: 270.7 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.648e-05/0.1163, allocations: 31.91 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1164, allocations: 138.1 kB / 0.6858 GB, free: 35.44 MB / 346.7 MB Notification: Performance of Backend: time 5.51e-07/0.1164, allocations: 4 kB / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.1183, allocations: 0.5207 MB / 0.6864 GB, free: 35.06 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006334/0.1189, allocations: 0.6626 MB / 0.687 GB, free: 34.36 MB / 346.7 MB Notification: Performance of Templates: time 0.006923/0.1259, allocations: 1.636 MB / 0.6886 GB, free: 32.73 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.timeScale,t_new.verboseRead,t_new.y[1],time