Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002775/0.002779, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.108/4.108, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.00379/0.003789, allocations: 237.5 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.5738/0.5738, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006629/0.0006631, allocations: 15.98 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1154, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002006/0.1175, allocations: 1.355 MB / 0.6814 GB, free: 40.26 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.119, allocations: 0.719 MB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1191, allocations: 0 / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.1194, allocations: 51.88 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1196, allocations: 43.75 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1198, allocations: 51.89 kB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.12, allocations: 87.7 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1201, allocations: 11.97 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.1202, allocations: 35.86 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.269e-05/0.1203, allocations: 39.84 kB / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1204, allocations: 0 / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1205, allocations: 39.97 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1205, allocations: 19.92 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1206, allocations: 45.64 kB / 0.6825 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1208, allocations: 104 kB / 0.6826 GB, free: 39.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1208, allocations: 0 / 0.6826 GB, free: 39.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1208, allocations: 0 / 0.6826 GB, free: 39.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1208, allocations: 0 / 0.6826 GB, free: 39.01 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.0005572/0.1214, allocations: 478 kB / 0.6831 GB, free: 38.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1215, allocations: 8.828 kB / 0.6831 GB, free: 38.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.1215, allocations: 15.81 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1218, allocations: 207.5 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.1218, allocations: 0 / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1218, allocations: 4 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.122, allocations: 57.67 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1221, allocations: 0 / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1221, allocations: 0 / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1221, allocations: 7.938 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1223, allocations: 31.86 kB / 0.6834 GB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.1227, allocations: 308.8 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1229, allocations: 50.69 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-05/0.123, allocations: 24.84 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.123, allocations: 4 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1233, allocations: 75.28 kB / 0.6839 GB, free: 37.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.1233, allocations: 0 / 0.6839 GB, free: 37.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007266/0.124, allocations: 181.3 kB / 0.684 GB, free: 37.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.1241, allocations: 59.41 kB / 0.6841 GB, free: 37.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1244, allocations: 248.7 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.1244, allocations: 29.7 kB / 0.6843 GB, free: 37.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.1245, allocations: 116 kB / 0.6845 GB, free: 36.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1245, allocations: 31.62 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.1245, allocations: 4 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.1246, allocations: 322.8 kB / 0.6848 GB, free: 36.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1247, allocations: 31.98 kB / 0.6848 GB, free: 36.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1249, allocations: 45.7 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.125, allocations: 69.69 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.125, allocations: 3.938 kB / 0.6849 GB, free: 36.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003493/0.1254, allocations: 163.1 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.1255, allocations: 41.66 kB / 0.6851 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1255, allocations: 128 / 0.6851 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1255, allocations: 0 / 0.6851 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1256, allocations: 23.98 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1257, allocations: 3.938 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.1258, allocations: 4 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.1258, allocations: 8.031 kB / 0.6852 GB, free: 36.14 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.0001289/0.1259, allocations: 133.8 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.126, allocations: 19.8 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.126, allocations: 21.36 kB / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1261, allocations: 0 / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1261, allocations: 0 / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.1261, allocations: 96.91 kB / 0.6854 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.1262, allocations: 7.938 kB / 0.6854 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.1263, allocations: 7.984 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1263, allocations: 8 kB / 0.6855 GB, free: 35.83 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002908/0.1266, allocations: 176.9 kB / 0.6856 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002973/0.127, allocations: 282.6 kB / 0.6859 GB, free: 35.36 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.338e-05/0.1271, allocations: 23.98 kB / 0.6859 GB, free: 35.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.1273, allocations: 194 kB / 0.6861 GB, free: 35.15 MB / 346.7 MB Notification: Performance of Backend: time 9.92e-07/0.1273, allocations: 0 / 0.6861 GB, free: 35.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.1291, allocations: 0.5451 MB / 0.6866 GB, free: 34.75 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007692/0.1299, allocations: 0.7182 MB / 0.6873 GB, free: 33.98 MB / 346.7 MB Notification: Performance of Templates: time 0.006204/0.1362, allocations: 1.665 MB / 0.689 GB, free: 32.33 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