Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004972/0.004972, allocations: 345.2 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.623/3.623, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003567/0.003567, allocations: 221.2 kB / 397.9 MB, free: 4.984 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.5546/0.5546, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007309/0.0007313, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1217, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002668/0.1245, allocations: 1.272 MB / 0.608 GB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.1254, allocations: 399.5 kB / 0.6084 GB, free: 2.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.1255, allocations: 4 kB / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1258, allocations: 55.86 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.126, allocations: 43.89 kB / 0.6085 GB, free: 2.871 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1262, allocations: 51.81 kB / 0.6085 GB, free: 2.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1264, allocations: 59.83 kB / 0.6086 GB, free: 2.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.641e-05/0.1265, allocations: 4 kB / 0.6086 GB, free: 2.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.1266, allocations: 35.83 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.1267, allocations: 31.91 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1267, allocations: 4 kB / 0.6087 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1268, allocations: 23.98 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.1269, allocations: 15.92 kB / 0.6087 GB, free: 2.648 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1269, allocations: 37.7 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1271, allocations: 80 kB / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1271, allocations: 0 / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1272, allocations: 0 / 0.6088 GB, free: 2.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1272, allocations: 0 / 0.6088 GB, free: 2.527 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004571/0.1276, allocations: 396.6 kB / 0.6092 GB, free: 2.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1277, allocations: 8.031 kB / 0.6092 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1277, allocations: 11.86 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.128, allocations: 190.9 kB / 0.6094 GB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.128, allocations: 7.938 kB / 0.6094 GB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.128, allocations: 4 kB / 0.6094 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1281, allocations: 37.69 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1282, allocations: 0 / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1282, allocations: 0 / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1282, allocations: 3.953 kB / 0.6094 GB, free: 1.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.1283, allocations: 15.92 kB / 0.6094 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.1284, allocations: 169.7 kB / 0.6096 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.1285, allocations: 34.56 kB / 0.6096 GB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.1286, allocations: 12.92 kB / 0.6097 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1286, allocations: 0 / 0.6097 GB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1288, allocations: 59.33 kB / 0.6097 GB, free: 1.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.1288, allocations: 7.938 kB / 0.6097 GB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002268/0.129, allocations: 61.59 kB / 0.6098 GB, free: 1.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1291, allocations: 55.36 kB / 0.6098 GB, free: 1.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1293, allocations: 175.8 kB / 0.61 GB, free: 1.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1293, allocations: 25.7 kB / 0.61 GB, free: 1.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.1294, allocations: 96.12 kB / 0.6101 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1294, allocations: 11.91 kB / 0.6101 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.1294, allocations: 0 / 0.6101 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.1295, allocations: 322.8 kB / 0.6104 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.1295, allocations: 12 kB / 0.6104 GB, free: 0.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.1296, allocations: 11.98 kB / 0.6105 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.777e-05/0.1297, allocations: 53.77 kB / 0.6105 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1297, allocations: 0 / 0.6105 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001806/0.1299, allocations: 103.2 kB / 0.6106 GB, free: 452 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.1299, allocations: 37.69 kB / 0.6106 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1299, allocations: 0 / 0.6106 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.13, allocations: 0 / 0.6106 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.1301, allocations: 4 kB / 0.6106 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1301, allocations: 0 / 0.6106 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.1302, allocations: 11.95 kB / 0.6107 GB, free: 392 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1302, allocations: 4 kB / 0.6107 GB, free: 388 kB / 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 (5): * Single equations (assignments): 4 * 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.729e-05/0.1303, allocations: 128.2 kB / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.1303, allocations: 3.906 kB / 0.6108 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.1304, allocations: 8.25 kB / 0.6108 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1304, allocations: 0 / 0.6108 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1304, allocations: 0 / 0.6108 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1305, allocations: 89.19 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1305, allocations: 7.953 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.1306, allocations: 11.92 kB / 0.6109 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1306, allocations: 3.938 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2751/0.4057, allocations: 129.2 kB / 0.611 GB, free: 90.51 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002351/0.406, allocations: 227.4 kB / 0.6112 GB, free: 90.31 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.975e-05/0.4061, allocations: 14.09 kB / 0.6113 GB, free: 90.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.4062, allocations: 134 kB / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of Backend: time 1.583e-06/0.4062, allocations: 0 / 0.6114 GB, free: 90.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.4075, allocations: 383.8 kB / 0.6117 GB, free: 90.11 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005719/0.4081, allocations: 0.6245 MB / 0.6124 GB, free: 89.51 MB / 362.7 MB Notification: Performance of Templates: time 0.005292/0.4134, allocations: 1.205 MB / 0.6135 GB, free: 89.5 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.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.verboseRead,t_new.y[1],time