Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00261/0.002615, allocations: 352.2 kB / 15.95 MB, free: 6.215 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.659/3.659, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003563/0.003562, allocations: 233.1 kB / 397.9 MB, free: 4.98 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.4963/0.4963, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006764, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1341, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002164/0.1363, allocations: 1.296 MB / 0.608 GB, free: 3.336 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.1373, allocations: 423.5 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.1374, allocations: 0 / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.1377, allocations: 35.89 kB / 0.6085 GB, free: 2.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1378, allocations: 27.91 kB / 0.6085 GB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1381, allocations: 59.81 kB / 0.6085 GB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1382, allocations: 63.83 kB / 0.6086 GB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1384, allocations: 11.97 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.1384, allocations: 27.86 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.1385, allocations: 19.92 kB / 0.6087 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1385, allocations: 11.88 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1387, allocations: 43.97 kB / 0.6087 GB, free: 2.621 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.1388, allocations: 11.98 kB / 0.6087 GB, free: 2.609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.1388, allocations: 41.58 kB / 0.6088 GB, free: 2.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.139, allocations: 80.11 kB / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.139, allocations: 0 / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.139, allocations: 0 / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.139, allocations: 0 / 0.6088 GB, free: 2.484 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.0004779/0.1395, allocations: 412.6 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1396, allocations: 8.031 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.1396, allocations: 15.86 kB / 0.6093 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1398, allocations: 204.9 kB / 0.6095 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1399, allocations: 0 / 0.6095 GB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1399, allocations: 8 kB / 0.6095 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.14, allocations: 41.69 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1401, allocations: 3.938 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1401, allocations: 0 / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1401, allocations: 0 / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.1402, allocations: 15.94 kB / 0.6095 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1405, allocations: 284.8 kB / 0.6098 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1408, allocations: 38.52 kB / 0.6098 GB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.1408, allocations: 16.94 kB / 0.6098 GB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1409, allocations: 4 kB / 0.6098 GB, free: 1.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.141, allocations: 51.41 kB / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.141, allocations: 4 kB / 0.6099 GB, free: 1.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004361/0.1415, allocations: 121.3 kB / 0.61 GB, free: 1.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.1415, allocations: 55.41 kB / 0.6101 GB, free: 1.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1417, allocations: 186.3 kB / 0.6102 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1417, allocations: 25.7 kB / 0.6103 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.1418, allocations: 100.1 kB / 0.6104 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.1418, allocations: 11.81 kB / 0.6104 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.1419, allocations: 4 kB / 0.6104 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.1419, allocations: 322.8 kB / 0.6107 GB, free: 380 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.142, allocations: 27.91 kB / 0.6107 GB, free: 352 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.1421, allocations: 20 kB / 0.6107 GB, free: 332 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.1421, allocations: 53.72 kB / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1422, allocations: 0 / 0.6108 GB, free: 272 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002002/0.1424, allocations: 119.2 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.1424, allocations: 29.7 kB / 0.6109 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1424, allocations: 0 / 0.6109 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1425, allocations: 3.953 kB / 0.6109 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.1425, allocations: 15.98 kB / 0.6109 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1426, allocations: 4 kB / 0.6109 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.1426, allocations: 4 kB / 0.611 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1427, allocations: 4 kB / 0.611 GB, free: 72 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 (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 0.2959/0.4385, allocations: 117 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.4386, allocations: 12.98 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.4387, allocations: 16.5 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4387, allocations: 1.719 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4387, allocations: 0.875 kB / 0.6111 GB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.4388, allocations: 86.33 kB / 0.6112 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4388, allocations: 3.375 kB / 0.6112 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.4389, allocations: 4.938 kB / 0.6112 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.439, allocations: 11.89 kB / 0.6112 GB, free: 90.18 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000228/0.4392, allocations: 145.7 kB / 0.6113 GB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002012/0.4394, allocations: 243.5 kB / 0.6116 GB, free: 89.87 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.149e-05/0.4395, allocations: 12.3 kB / 0.6116 GB, free: 89.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.4396, allocations: 141.4 kB / 0.6117 GB, free: 89.8 MB / 362.7 MB Notification: Performance of Backend: time 5.41e-07/0.4397, allocations: 3.969 kB / 0.6117 GB, free: 89.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.4411, allocations: 425.1 kB / 0.6121 GB, free: 89.67 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006124/0.4417, allocations: 0.6517 MB / 0.6128 GB, free: 89.06 MB / 362.7 MB Notification: Performance of Templates: time 0.006173/0.4479, allocations: 1.427 MB / 0.6142 GB, free: 89.05 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.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.verboseRead,t_new.y[1],time