Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004301/0.004307, allocations: 364.4 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.005/4.005, 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.003592/0.003592, allocations: 221.6 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.513/0.513, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.00046, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00277/0.1073, allocations: 1.359 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1093, allocations: 0.7151 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1094, allocations: 0 / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1098, allocations: 43.86 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1101, allocations: 47.81 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1104, allocations: 55.89 kB / 0.6823 GB, free: 39.42 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1106, allocations: 83.69 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1108, allocations: 15.98 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1109, allocations: 31.86 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.111, allocations: 35.83 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.1111, allocations: 4 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.1113, allocations: 35.98 kB / 0.6825 GB, free: 39.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.1113, allocations: 27.92 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.1114, allocations: 37.64 kB / 0.6825 GB, free: 39.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1117, allocations: 108 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1117, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1117, allocations: 0 / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1117, allocations: 3.938 kB / 0.6826 GB, free: 39.04 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.0006758/0.1124, allocations: 474 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1125, allocations: 8.828 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.1126, allocations: 15.81 kB / 0.6831 GB, free: 38.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1129, allocations: 211.5 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.1129, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.113, allocations: 4 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.1132, allocations: 53.67 kB / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1133, allocations: 0 / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1133, allocations: 0 / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1133, allocations: 7.953 kB / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1135, allocations: 27.86 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.114, allocations: 312.8 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.1143, allocations: 54.69 kB / 0.6838 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1144, allocations: 20.84 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1145, allocations: 0 / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.1147, allocations: 79.28 kB / 0.6838 GB, free: 37.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.1148, allocations: 0 / 0.6838 GB, free: 37.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009301/0.1157, allocations: 181.1 kB / 0.684 GB, free: 37.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.1158, allocations: 51.41 kB / 0.6841 GB, free: 37.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.1162, allocations: 252.7 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1162, allocations: 29.7 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.1163, allocations: 120 kB / 0.6845 GB, free: 36.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.1164, allocations: 27.64 kB / 0.6845 GB, free: 36.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.1164, allocations: 4 kB / 0.6845 GB, free: 36.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.1165, allocations: 326.8 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1167, allocations: 27.98 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.1168, allocations: 49.08 kB / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.117, allocations: 67.69 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1171, allocations: 0 / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004739/0.1175, allocations: 163.2 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.1176, allocations: 45.66 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1176, allocations: 80 / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1177, allocations: 3.984 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1179, allocations: 16.36 kB / 0.6852 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.1179, allocations: 7.984 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.118, allocations: 7.938 kB / 0.6852 GB, free: 36.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1181, allocations: 12 kB / 0.6852 GB, free: 36.18 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.0001607/0.1182, allocations: 129.8 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.1183, allocations: 23.8 kB / 0.6853 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.1184, allocations: 21.45 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1184, allocations: 3.938 kB / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1184, allocations: 0 / 0.6853 GB, free: 36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.1185, allocations: 100.9 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.1186, allocations: 3.938 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-05/0.1187, allocations: 7.984 kB / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.1188, allocations: 0 / 0.6855 GB, free: 35.87 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003963/0.1192, allocations: 188.9 kB / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004018/0.1196, allocations: 274.6 kB / 0.6859 GB, free: 35.39 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001264/0.1197, allocations: 31.98 kB / 0.6859 GB, free: 35.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002665/0.12, allocations: 186 kB / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of Backend: time 1.022e-06/0.12, allocations: 4 kB / 0.6861 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.1226, allocations: 0.5501 MB / 0.6866 GB, free: 34.77 MB / 346.7 MB Notification: Performance of SimCode: time 0.0009379/0.1236, allocations: 0.7178 MB / 0.6873 GB, free: 34.01 MB / 346.7 MB Notification: Performance of Templates: time 0.007737/0.1313, allocations: 1.656 MB / 0.689 GB, free: 32.36 MB / 346.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5007]=2.500000 File[6005]=3.000500 " 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