Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005562/0.005562, allocations: 354.5 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.761/3.761, 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.00361/0.003609, allocations: 217.2 kB / 397.9 MB, free: 4.992 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.541/0.541, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004727, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09135, allocations: 48.71 MB / 0.6068 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.001822/0.09323, allocations: 1.272 MB / 0.608 GB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.09414, allocations: 399.5 kB / 0.6084 GB, free: 2.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.09422, allocations: 0 / 0.6084 GB, free: 2.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.09452, allocations: 55.86 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.0947, allocations: 43.88 kB / 0.6085 GB, free: 2.875 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.09491, allocations: 51.81 kB / 0.6085 GB, free: 2.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.09505, allocations: 59.83 kB / 0.6086 GB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.09512, allocations: 8 kB / 0.6086 GB, free: 2.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.39e-05/0.0952, allocations: 31.84 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.561e-05/0.0953, allocations: 31.91 kB / 0.6086 GB, free: 2.695 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.09533, allocations: 4 kB / 0.6086 GB, free: 2.691 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.09544, allocations: 23.98 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.09549, allocations: 23.91 kB / 0.6087 GB, free: 2.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.09554, allocations: 33.64 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.09571, allocations: 72.08 kB / 0.6088 GB, free: 2.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.09573, allocations: 0 / 0.6088 GB, free: 2.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09574, allocations: 4 kB / 0.6088 GB, free: 2.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.09575, allocations: 0 / 0.6088 GB, free: 2.531 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.0004561/0.09622, allocations: 400.6 kB / 0.6092 GB, free: 2.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.09627, allocations: 8.031 kB / 0.6092 GB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.09632, allocations: 11.86 kB / 0.6092 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.09652, allocations: 187 kB / 0.6094 GB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.09655, allocations: 3.938 kB / 0.6094 GB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.09658, allocations: 4 kB / 0.6094 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.0967, allocations: 41.69 kB / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.09672, allocations: 0 / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.09674, allocations: 0 / 0.6094 GB, free: 1.789 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.09676, allocations: 3.953 kB / 0.6094 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.09682, allocations: 15.94 kB / 0.6094 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.097, allocations: 173.7 kB / 0.6096 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.09708, allocations: 26.58 kB / 0.6096 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.09712, allocations: 16.91 kB / 0.6097 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.09716, allocations: 0 / 0.6097 GB, free: 1.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.09734, allocations: 63.27 kB / 0.6097 GB, free: 1.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.265e-06/0.09736, allocations: 4 kB / 0.6097 GB, free: 1.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000212/0.09758, allocations: 65.58 kB / 0.6098 GB, free: 1.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.09762, allocations: 55.36 kB / 0.6098 GB, free: 1.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.0978, allocations: 171.8 kB / 0.61 GB, free: 1.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.09783, allocations: 29.7 kB / 0.61 GB, free: 1.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.09788, allocations: 96.12 kB / 0.6101 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.09792, allocations: 11.91 kB / 0.6101 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.09793, allocations: 0 / 0.6101 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.098, allocations: 322.8 kB / 0.6104 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.09806, allocations: 12 kB / 0.6104 GB, free: 0.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.09811, allocations: 12 kB / 0.6105 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.471e-05/0.09818, allocations: 49.7 kB / 0.6105 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.09819, allocations: 0 / 0.6105 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001697/0.09837, allocations: 103.3 kB / 0.6106 GB, free: 456 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.09842, allocations: 37.7 kB / 0.6106 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.09844, allocations: 0 / 0.6106 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.09846, allocations: 0 / 0.6106 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.893e-05/0.09855, allocations: 7.984 kB / 0.6106 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.09857, allocations: 128 / 0.6106 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.09865, allocations: 15.95 kB / 0.6107 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.09867, allocations: 4 kB / 0.6107 GB, free: 384 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 8.577e-05/0.09876, allocations: 120.2 kB / 0.6108 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.09879, allocations: 3.906 kB / 0.6108 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.09884, allocations: 16.23 kB / 0.6108 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.09886, allocations: 0 / 0.6108 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.09887, allocations: 4 kB / 0.6108 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.09891, allocations: 81.02 kB / 0.6109 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.09895, allocations: 11.89 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.099, allocations: 11.92 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.09905, allocations: 0 / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2628/0.3618, allocations: 124.3 kB / 0.611 GB, free: 90.46 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002549/0.3621, allocations: 230.4 kB / 0.6112 GB, free: 90.26 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.049e-05/0.3622, allocations: 11.92 kB / 0.6113 GB, free: 90.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3623, allocations: 136.1 kB / 0.6114 GB, free: 90.18 MB / 362.7 MB Notification: Performance of Backend: time 1.703e-06/0.3624, allocations: 0 / 0.6114 GB, free: 90.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.3637, allocations: 380.1 kB / 0.6117 GB, free: 90.06 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006428/0.3644, allocations: 0.6288 MB / 0.6124 GB, free: 89.46 MB / 362.7 MB Notification: Performance of Templates: time 0.005656/0.37, allocations: 1.202 MB / 0.6135 GB, free: 89.45 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