Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004017/0.004023, allocations: 342.8 kB / 15.94 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.627/3.627, 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.003468/0.003468, allocations: 221.2 kB / 397.9 MB, free: 4.988 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.5601/0.5601, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007469/0.0007471, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1104, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.001797/0.1123, allocations: 1.212 MB / 0.6079 GB, free: 3.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000582/0.1129, allocations: 239.9 kB / 0.6081 GB, free: 3.203 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.113, allocations: 0 / 0.6081 GB, free: 3.203 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.1132, allocations: 23.86 kB / 0.6082 GB, free: 3.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.1133, allocations: 27.91 kB / 0.6082 GB, free: 3.152 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1135, allocations: 27.98 kB / 0.6082 GB, free: 3.125 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1136, allocations: 47.83 kB / 0.6083 GB, free: 3.078 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.513e-05/0.1137, allocations: 15.98 kB / 0.6083 GB, free: 3.062 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.1137, allocations: 11.94 kB / 0.6083 GB, free: 3.051 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.063e-05/0.1138, allocations: 15.92 kB / 0.6083 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1138, allocations: 0 / 0.6083 GB, free: 3.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.1139, allocations: 23.92 kB / 0.6083 GB, free: 3.012 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.114, allocations: 15.98 kB / 0.6084 GB, free: 2.996 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.114, allocations: 33.64 kB / 0.6084 GB, free: 2.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1141, allocations: 52.2 kB / 0.6084 GB, free: 2.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1142, allocations: 4 kB / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1142, allocations: 0 / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1142, allocations: 0 / 0.6084 GB, free: 2.902 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004299/0.1146, allocations: 392.7 kB / 0.6088 GB, free: 2.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1147, allocations: 12.03 kB / 0.6088 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1147, allocations: 7.891 kB / 0.6088 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1149, allocations: 183 kB / 0.609 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1149, allocations: 0 / 0.609 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1149, allocations: 4 kB / 0.609 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1151, allocations: 49.62 kB / 0.6091 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1151, allocations: 4 kB / 0.6091 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.1152, allocations: 3.938 kB / 0.6091 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1152, allocations: 11.89 kB / 0.6091 GB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1153, allocations: 35.97 kB / 0.6091 GB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1157, allocations: 276.9 kB / 0.6094 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.116, allocations: 46.5 kB / 0.6094 GB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.1161, allocations: 28.94 kB / 0.6094 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1161, allocations: 0 / 0.6094 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.1161, allocations: 34.52 kB / 0.6095 GB, free: 1.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1161, allocations: 0 / 0.6095 GB, free: 1.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007598/0.1169, allocations: 169.3 kB / 0.6096 GB, free: 1.492 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.1169, allocations: 51.41 kB / 0.6097 GB, free: 1.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1171, allocations: 158 kB / 0.6098 GB, free: 1.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1171, allocations: 29.7 kB / 0.6099 GB, free: 1.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1172, allocations: 92.05 kB / 0.61 GB, free: 1.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1172, allocations: 23.75 kB / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1172, allocations: 0 / 0.61 GB, free: 1.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.1173, allocations: 322.8 kB / 0.6103 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1174, allocations: 23.98 kB / 0.6103 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1175, allocations: 27.97 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1177, allocations: 61.69 kB / 0.6104 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1177, allocations: 0 / 0.6104 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003094/0.118, allocations: 127.2 kB / 0.6105 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.1181, allocations: 33.66 kB / 0.6105 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1181, allocations: 4 kB / 0.6106 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1181, allocations: 4 kB / 0.6106 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1182, allocations: 12 kB / 0.6106 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1182, allocations: 3.984 kB / 0.6106 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.1183, allocations: 4 kB / 0.6106 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1183, allocations: 8 kB / 0.6106 GB, free: 472 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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 7.493e-05/0.1184, allocations: 120.2 kB / 0.6107 GB, free: 344 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.1185, allocations: 7.906 kB / 0.6107 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.1188, allocations: 113.9 kB / 0.6108 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1188, allocations: 0 / 0.6108 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1188, allocations: 0 / 0.6108 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.1189, allocations: 92.94 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1189, allocations: 0 / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.119, allocations: 8 kB / 0.6109 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1191, allocations: 7.984 kB / 0.6109 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2872/0.4063, allocations: 174.9 kB / 0.6111 GB, free: 90.48 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003821/0.4067, allocations: 270.4 kB / 0.6113 GB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001438/0.4069, allocations: 29.56 kB / 0.6114 GB, free: 90.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.407, allocations: 133.2 kB / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of Backend: time 9.92e-07/0.407, allocations: 0 / 0.6115 GB, free: 90.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.4085, allocations: 312.9 kB / 0.6118 GB, free: 90.08 MB / 362.7 MB Notification: Performance of SimCode: time 0.001089/0.4097, allocations: 0.6251 MB / 0.6124 GB, free: 89.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004997/0.4147, allocations: 0.9675 MB / 0.6134 GB, free: 89.47 MB / 362.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.n,t_new.smoothness,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.u[1],t_new.verboseRead,t_new.y[1],time