Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004026/0.004032, allocations: 367.5 kB / 15.96 MB, free: 6.203 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.113/4.113, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.00359/0.00359, allocations: 228.3 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.5736/0.5736, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004667, allocations: 17.36 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002088/0.1196, allocations: 1.363 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1211, allocations: 0.7112 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.1213, allocations: 4 kB / 0.6821 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1216, allocations: 47.8 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1218, allocations: 31.89 kB / 0.6822 GB, free: 39.46 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.122, allocations: 51.89 kB / 0.6823 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1222, allocations: 91.7 kB / 0.6823 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1223, allocations: 7.984 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.954e-05/0.1224, allocations: 35.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.1225, allocations: 31.84 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1225, allocations: 4 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1227, allocations: 32 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.1227, allocations: 27.89 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1228, allocations: 41.64 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.123, allocations: 92.05 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.123, allocations: 3.984 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.123, allocations: 0 / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1231, allocations: 0 / 0.6826 GB, free: 39.05 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.0005498/0.1236, allocations: 466.2 kB / 0.6831 GB, free: 38.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1237, allocations: 12.77 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.1237, allocations: 11.81 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.124, allocations: 202.8 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.124, allocations: 4 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.1241, allocations: 8 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1243, allocations: 53.67 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1243, allocations: 4 kB / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1243, allocations: 0 / 0.6833 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1243, allocations: 3.953 kB / 0.6833 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1244, allocations: 23.92 kB / 0.6834 GB, free: 38.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1249, allocations: 296.8 kB / 0.6836 GB, free: 37.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1251, allocations: 62.67 kB / 0.6837 GB, free: 37.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.1252, allocations: 20.86 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1253, allocations: 0 / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.1255, allocations: 71.33 kB / 0.6838 GB, free: 37.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.717e-06/0.1255, allocations: 0 / 0.6838 GB, free: 37.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000756/0.1263, allocations: 189.3 kB / 0.684 GB, free: 37.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.1263, allocations: 51.41 kB / 0.684 GB, free: 37.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1266, allocations: 223.6 kB / 0.6842 GB, free: 37.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1266, allocations: 29.64 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1267, allocations: 112 kB / 0.6844 GB, free: 37.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1267, allocations: 23.7 kB / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.1268, allocations: 0 / 0.6844 GB, free: 37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.1268, allocations: 322.8 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.127, allocations: 35.98 kB / 0.6847 GB, free: 36.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1271, allocations: 56.81 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1272, allocations: 64.95 kB / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1273, allocations: 0 / 0.6849 GB, free: 36.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003541/0.1276, allocations: 167.3 kB / 0.685 GB, free: 36.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.1277, allocations: 41.66 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1277, allocations: 0 / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1277, allocations: 8.031 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1279, allocations: 15.98 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1279, allocations: 4.078 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.128, allocations: 4 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.128, allocations: 7.984 kB / 0.6851 GB, free: 36.25 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.0001257/0.1282, allocations: 133.8 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1282, allocations: 11.81 kB / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.1283, allocations: 25.34 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1283, allocations: 4 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1283, allocations: 96 / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1284, allocations: 96.94 kB / 0.6853 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.1284, allocations: 7.938 kB / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.1285, allocations: 0 / 0.6854 GB, free: 35.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1285, allocations: 11.98 kB / 0.6854 GB, free: 35.95 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002909/0.1288, allocations: 168.9 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003184/0.1292, allocations: 294.5 kB / 0.6858 GB, free: 35.47 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.279e-05/0.1293, allocations: 23.98 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.1294, allocations: 163.2 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of Backend: time 9.72e-07/0.1294, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.1312, allocations: 0.5353 MB / 0.6865 GB, free: 34.89 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006851/0.1319, allocations: 0.6862 MB / 0.6872 GB, free: 34.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005965/0.1379, allocations: 1.645 MB / 0.6888 GB, free: 32.53 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.timeScale,t_new.verboseRead,t_new.y[1],time