Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002745/0.002744, allocations: 351.3 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.491/3.491, 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.003546/0.003546, allocations: 225.1 kB / 397.9 MB, free: 4.977 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.5415/0.5415, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007559/0.0007562, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1134, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001858/0.1153, allocations: 1.264 MB / 0.608 GB, free: 3.379 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.1162, allocations: 415.5 kB / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.1163, allocations: 0 / 0.6084 GB, free: 2.969 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1167, allocations: 75.83 kB / 0.6084 GB, free: 2.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.1169, allocations: 47.88 kB / 0.6085 GB, free: 2.848 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1171, allocations: 55.81 kB / 0.6085 GB, free: 2.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1172, allocations: 63.83 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.1173, allocations: 8 kB / 0.6086 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.093e-05/0.1174, allocations: 35.83 kB / 0.6086 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.1175, allocations: 43.88 kB / 0.6087 GB, free: 2.645 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1175, allocations: 0 / 0.6087 GB, free: 2.645 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.921e-05/0.1176, allocations: 20 kB / 0.6087 GB, free: 2.625 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.1177, allocations: 19.92 kB / 0.6087 GB, free: 2.605 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.1177, allocations: 33.64 kB / 0.6088 GB, free: 2.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1179, allocations: 76.06 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1179, allocations: 4 kB / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1179, allocations: 0 / 0.6088 GB, free: 2.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1179, allocations: 4 kB / 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004471/0.1184, allocations: 412.6 kB / 0.6092 GB, free: 2.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1185, allocations: 8.031 kB / 0.6092 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.1185, allocations: 15.8 kB / 0.6093 GB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1187, allocations: 190.9 kB / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1187, allocations: 0 / 0.6094 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1188, allocations: 8 kB / 0.6094 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1189, allocations: 41.67 kB / 0.6095 GB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1189, allocations: 7.938 kB / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1189, allocations: 0 / 0.6095 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1189, allocations: 4 kB / 0.6095 GB, free: 1.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.119, allocations: 11.95 kB / 0.6095 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1192, allocations: 177.6 kB / 0.6097 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.1193, allocations: 30.56 kB / 0.6097 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.1193, allocations: 8.922 kB / 0.6097 GB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1193, allocations: 11.94 kB / 0.6097 GB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.1195, allocations: 55.34 kB / 0.6098 GB, free: 1.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.1195, allocations: 0 / 0.6098 GB, free: 1.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002194/0.1198, allocations: 65.58 kB / 0.6098 GB, free: 1.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.1198, allocations: 51.41 kB / 0.6099 GB, free: 1.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.12, allocations: 196.4 kB / 0.6101 GB, free: 1.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.12, allocations: 25.7 kB / 0.6101 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.1201, allocations: 104.1 kB / 0.6102 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1201, allocations: 7.906 kB / 0.6102 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.1201, allocations: 0 / 0.6102 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.755e-05/0.1202, allocations: 326.8 kB / 0.6105 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.1203, allocations: 12 kB / 0.6105 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.1203, allocations: 15.94 kB / 0.6105 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.1204, allocations: 49.67 kB / 0.6106 GB, free: 472 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1204, allocations: 0 / 0.6106 GB, free: 472 kB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002113/0.1206, allocations: 99.3 kB / 0.6107 GB, free: 360 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.1207, allocations: 37.7 kB / 0.6107 GB, free: 316 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1207, allocations: 4 kB / 0.6107 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1207, allocations: 0 / 0.6107 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.1208, allocations: 7.984 kB / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1208, allocations: 0 / 0.6107 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.1209, allocations: 11.84 kB / 0.6107 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1209, allocations: 4 kB / 0.6108 GB, free: 288 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.429e-05/0.121, allocations: 128.2 kB / 0.6109 GB, free: 152 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1211, allocations: 11.84 kB / 0.6109 GB, free: 140 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.1211, allocations: 16.25 kB / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1211, allocations: 0 / 0.6109 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1212, allocations: 4 kB / 0.6109 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1212, allocations: 88.94 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1212, allocations: 0 / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.1213, allocations: 7.953 kB / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1213, allocations: 0 / 0.611 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2588/0.3802, allocations: 126.1 kB / 0.6111 GB, free: 90.59 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001862/0.3804, allocations: 235.1 kB / 0.6113 GB, free: 90.38 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.214e-05/0.3805, allocations: 13.39 kB / 0.6114 GB, free: 90.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3807, allocations: 147.1 kB / 0.6115 GB, free: 90.31 MB / 362.7 MB Notification: Performance of Backend: time 9.12e-07/0.3807, allocations: 2.844 kB / 0.6115 GB, free: 90.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.382, allocations: 385.8 kB / 0.6119 GB, free: 90.18 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006111/0.3826, allocations: 0.6344 MB / 0.6125 GB, free: 89.58 MB / 362.7 MB Notification: Performance of Templates: time 0.005566/0.3882, allocations: 1.215 MB / 0.6137 GB, free: 89.57 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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time