Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00263/0.00263, allocations: 364.2 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.544/4.544, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.00353/0.003529, allocations: 245.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.5283/0.5283, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001095, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1143, allocations: 54.88 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002627/0.117, allocations: 1.355 MB / 0.6814 GB, free: 40.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1188, allocations: 0.719 MB / 0.6821 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.119, allocations: 0 / 0.6821 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.1193, allocations: 39.88 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1196, allocations: 43.83 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1199, allocations: 55.89 kB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1201, allocations: 87.67 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1202, allocations: 15.94 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1203, allocations: 35.84 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.1204, allocations: 31.84 kB / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1205, allocations: 4 kB / 0.6824 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1206, allocations: 35.98 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.1207, allocations: 27.92 kB / 0.6825 GB, free: 39.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.1208, allocations: 37.64 kB / 0.6825 GB, free: 39.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.121, allocations: 104 kB / 0.6826 GB, free: 39.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.121, allocations: 4 kB / 0.6826 GB, free: 39.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1211, allocations: 0 / 0.6826 GB, free: 39.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1211, 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.0006178/0.1217, allocations: 474 kB / 0.6831 GB, free: 38.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1218, allocations: 8.828 kB / 0.6831 GB, free: 38.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.1218, allocations: 11.81 kB / 0.6831 GB, free: 38.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1221, allocations: 215.5 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1222, allocations: 0 / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1222, allocations: 4 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1225, allocations: 53.67 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1225, allocations: 0 / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1225, allocations: 0 / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.1225, allocations: 7.953 kB / 0.6834 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1227, allocations: 27.86 kB / 0.6834 GB, free: 38.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.1232, allocations: 312.8 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.1235, allocations: 54.69 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.1236, allocations: 20.84 kB / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1237, allocations: 0 / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.1239, allocations: 79.28 kB / 0.6838 GB, free: 37.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.524e-06/0.1239, allocations: 0 / 0.6838 GB, free: 37.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008902/0.1248, allocations: 189.1 kB / 0.684 GB, free: 37.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1249, allocations: 51.41 kB / 0.6841 GB, free: 37.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.1253, allocations: 252.7 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1253, allocations: 29.7 kB / 0.6843 GB, free: 37.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1254, allocations: 112 kB / 0.6845 GB, free: 36.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.1255, allocations: 27.64 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.1255, allocations: 8 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.1256, allocations: 326.8 kB / 0.6848 GB, free: 36.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1258, allocations: 27.98 kB / 0.6848 GB, free: 36.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.1259, allocations: 45.7 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1261, allocations: 61.69 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1262, allocations: 4 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004749/0.1266, allocations: 163.2 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.1267, allocations: 49.73 kB / 0.6851 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1267, allocations: 4.016 kB / 0.6851 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1268, allocations: 0 / 0.6851 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.127, allocations: 12 kB / 0.6852 GB, free: 36.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.127, allocations: 11.92 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.1272, allocations: 4 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1272, allocations: 11.98 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.0001546/0.1274, allocations: 129.8 kB / 0.6853 GB, free: 36.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.1274, allocations: 15.81 kB / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.1275, allocations: 25.36 kB / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1275, allocations: 3.984 kB / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1275, allocations: 0 / 0.6853 GB, free: 35.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.1276, allocations: 96.91 kB / 0.6854 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.1277, allocations: 11.92 kB / 0.6854 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1278, allocations: 4 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.1279, allocations: 0 / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003708/0.1282, allocations: 188.9 kB / 0.6856 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003819/0.1286, allocations: 274.6 kB / 0.6859 GB, free: 35.36 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001235/0.1288, allocations: 27.98 kB / 0.6859 GB, free: 35.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.1291, allocations: 194 kB / 0.6861 GB, free: 35.15 MB / 346.7 MB Notification: Performance of Backend: time 8.12e-07/0.1291, allocations: 0 / 0.6861 GB, free: 35.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.1314, allocations: 0.5495 MB / 0.6866 GB, free: 34.75 MB / 346.7 MB Notification: Performance of SimCode: time 0.0008337/0.1323, allocations: 0.7178 MB / 0.6873 GB, free: 33.99 MB / 346.7 MB Notification: Performance of Templates: time 0.007452/0.1397, allocations: 1.659 MB / 0.689 GB, free: 32.34 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