Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004341/0.004341, allocations: 352 kB / 15.95 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.853/3.853, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003599/0.003599, allocations: 232.3 kB / 397.9 MB, free: 4.887 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4973/0.4973, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006835, allocations: 15.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1205, allocations: 48.71 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003527/0.1241, allocations: 1.296 MB / 0.608 GB, free: 3.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1266, allocations: 0.9998 MB / 0.609 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1267, allocations: 4 kB / 0.609 GB, free: 2.309 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1271, allocations: 23.84 kB / 0.609 GB, free: 2.285 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1275, allocations: 39.89 kB / 0.6091 GB, free: 2.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.1279, allocations: 55.81 kB / 0.6091 GB, free: 2.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.1281, allocations: 63.77 kB / 0.6092 GB, free: 2.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1283, allocations: 12 kB / 0.6092 GB, free: 2.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.283e-05/0.1284, allocations: 23.91 kB / 0.6092 GB, free: 2.094 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1286, allocations: 31.86 kB / 0.6092 GB, free: 2.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.1287, allocations: 4 kB / 0.6092 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.129, allocations: 59.95 kB / 0.6093 GB, free: 2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1291, allocations: 4 kB / 0.6093 GB, free: 1.996 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.1291, allocations: 33.64 kB / 0.6093 GB, free: 1.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1295, allocations: 92.09 kB / 0.6094 GB, free: 1.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1295, allocations: 3.984 kB / 0.6094 GB, free: 1.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1295, allocations: 0 / 0.6094 GB, free: 1.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1295, allocations: 4 kB / 0.6094 GB, free: 1.859 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006826/0.1302, allocations: 404.7 kB / 0.6098 GB, free: 1.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.1303, allocations: 12.03 kB / 0.6098 GB, free: 1.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.1304, allocations: 7.859 kB / 0.6098 GB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.1307, allocations: 195 kB / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.1307, allocations: 0 / 0.61 GB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1308, allocations: 7.906 kB / 0.61 GB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.131, allocations: 59.34 kB / 0.6101 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.131, allocations: 0 / 0.6101 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1311, allocations: 4 kB / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1311, allocations: 0 / 0.6101 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.1312, allocations: 15.94 kB / 0.6101 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1317, allocations: 280.9 kB / 0.6104 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.132, allocations: 46.5 kB / 0.6104 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.1321, allocations: 8.859 kB / 0.6104 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.1322, allocations: 0 / 0.6104 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.1324, allocations: 71.47 kB / 0.6105 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.917e-06/0.1324, allocations: 0 / 0.6105 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.368/0.5004, allocations: 106.1 kB / 0.6106 GB, free: 90.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.5005, allocations: 79.05 kB / 0.6107 GB, free: 90.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.5007, allocations: 136.1 kB / 0.6108 GB, free: 90.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5008, allocations: 30.42 kB / 0.6108 GB, free: 90.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.694e-05/0.5008, allocations: 94.72 kB / 0.6109 GB, free: 90.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.5008, allocations: 14.55 kB / 0.6109 GB, free: 90.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.5009, allocations: 3.125 kB / 0.6109 GB, free: 90.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.5009, allocations: 319.2 kB / 0.6112 GB, free: 90.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.501, allocations: 18.88 kB / 0.6113 GB, free: 90.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.5011, allocations: 42 kB / 0.6113 GB, free: 90.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.5012, allocations: 44.39 kB / 0.6113 GB, free: 90.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5012, allocations: 0.6875 kB / 0.6113 GB, free: 90.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000243/0.5014, allocations: 124 kB / 0.6115 GB, free: 90.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.841e-05/0.5015, allocations: 37.2 kB / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.5015, allocations: 0 / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5015, allocations: 5.688 kB / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.5016, allocations: 9.172 kB / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5017, allocations: 2.969 kB / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.5017, allocations: 4.594 kB / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.5018, allocations: 3.594 kB / 0.6115 GB, free: 90.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 9.127e-05/0.5019, allocations: 126.8 kB / 0.6116 GB, free: 90 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5019, allocations: 8.547 kB / 0.6117 GB, free: 90 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.502, allocations: 14.44 kB / 0.6117 GB, free: 90 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.502, allocations: 0.7031 kB / 0.6117 GB, free: 90 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.502, allocations: 0 / 0.6117 GB, free: 90 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.502, allocations: 87.11 kB / 0.6117 GB, free: 89.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.5021, allocations: 2.672 kB / 0.6118 GB, free: 89.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.5021, allocations: 3.641 kB / 0.6118 GB, free: 89.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.5022, allocations: 8.328 kB / 0.6118 GB, free: 89.89 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001879/0.5024, allocations: 145.2 kB / 0.6119 GB, free: 89.79 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002029/0.5026, allocations: 243.5 kB / 0.6121 GB, free: 89.58 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.503e-05/0.5027, allocations: 15.55 kB / 0.6121 GB, free: 89.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.5028, allocations: 105.5 kB / 0.6122 GB, free: 89.51 MB / 362.7 MB Notification: Performance of Backend: time 9.42e-07/0.5028, allocations: 0 / 0.6122 GB, free: 89.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.5045, allocations: 0.4942 MB / 0.6127 GB, free: 89.38 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005904/0.5051, allocations: 0.6142 MB / 0.6133 GB, free: 88.79 MB / 362.7 MB Notification: Performance of Templates: time 0.006747/0.5119, allocations: 1.764 MB / 0.6151 GB, free: 88.76 MB / 362.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_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.verboseRead,t_new.y[1],time