Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test3.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01676/0.01676, allocations: 163.1 kB / 15.12 MB, free: 5.957 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 1.923/1.923, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00178/0.00178, allocations: 114.7 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4501/0.4501, allocations: 38.06 MB / 303.7 MB, free: 42.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.000495, allocations: 19.92 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002369/0.1102, allocations: 1.199 MB / 412.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006919/0.111, allocations: 240 kB / 413.1 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.1111, allocations: 4 kB / 413.1 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1114, allocations: 59.84 kB / 413.2 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1116, allocations: 43.89 kB / 413.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1117, allocations: 39.89 kB / 413.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1119, allocations: 51.83 kB / 413.3 MB, free: 3.035 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.112, allocations: 19.97 kB / 413.4 MB, free: 3.016 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.1121, allocations: 23.92 kB / 413.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1122, allocations: 31.89 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1122, allocations: 0 / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.1123, allocations: 27.94 kB / 413.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.1124, allocations: 11.92 kB / 413.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.1124, allocations: 33.7 kB / 413.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1126, allocations: 60.08 kB / 413.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1126, allocations: 3.938 kB / 413.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1126, allocations: 0 / 413.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1127, allocations: 0 / 413.5 MB, free: 2.82 MB / 314.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.0005676/0.1132, allocations: 404.8 kB / 413.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1133, allocations: 8.031 kB / 413.9 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.1133, allocations: 30.56 kB / 414 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.1134, allocations: 7.906 kB / 414 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1136, allocations: 186.9 kB / 414.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1137, allocations: 0 / 414.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1137, allocations: 7.984 kB / 414.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1139, allocations: 57.67 kB / 414.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1139, allocations: 0 / 414.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1139, allocations: 0 / 414.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.114, allocations: 4 kB / 414.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1141, allocations: 27.92 kB / 414.3 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.1146, allocations: 292.9 kB / 414.5 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1149, allocations: 46.56 kB / 414.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.115, allocations: 20.88 kB / 414.6 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1151, allocations: 4 kB / 414.6 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1151, allocations: 34.56 kB / 414.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.1151, allocations: 4 kB / 414.7 MB, free: 1.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008785/0.116, allocations: 173.2 kB / 414.8 MB, free: 1.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1161, allocations: 59.39 kB / 414.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1163, allocations: 186.2 kB / 415.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1164, allocations: 25.7 kB / 415.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.1165, allocations: 108 kB / 415.2 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1165, allocations: 11.81 kB / 415.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.1165, allocations: 4 kB / 415.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1167, allocations: 318.8 kB / 415.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1168, allocations: 31.98 kB / 415.5 MB, free: 0.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.117, allocations: 28.05 kB / 415.6 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1172, allocations: 53.69 kB / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1172, allocations: 4 kB / 415.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003998/0.1176, allocations: 127.3 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.1177, allocations: 33.64 kB / 415.8 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1177, allocations: 0 / 415.8 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.1177, allocations: 7.953 kB / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1179, allocations: 15.98 kB / 415.8 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1179, allocations: 3.938 kB / 415.8 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.118, allocations: 11.98 kB / 415.8 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.118, allocations: 0 / 415.8 MB, free: 284 kB / 314.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 0.0001414/0.1182, allocations: 126.9 kB / 416 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1182, allocations: 7.906 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.1187, allocations: 117.9 kB / 416.1 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.1187, allocations: 3.953 kB / 416.1 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1187, allocations: 0 / 416.1 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1187, allocations: 0 / 416.1 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.1194, allocations: 358.6 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1195, allocations: 4 kB / 416.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1196, allocations: 15.98 kB / 416.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.1196, allocations: 3.953 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1196, allocations: 0 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1197, allocations: 0 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1197, allocations: 0 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.1201, allocations: 207.6 kB / 416.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.1202, allocations: 85.02 kB / 416.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1202, allocations: 3.953 kB / 416.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1203, allocations: 7.938 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.1204, allocations: 7.984 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1204, allocations: 4.281 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.1206, allocations: 139.8 kB / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1206, allocations: 0 / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.121, allocations: 23.98 kB / 416.9 MB, free: 15.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001403/0.1224, allocations: 0.8584 MB / 417.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004242/0.1229, allocations: 119.3 kB / 417.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1229, allocations: 4 kB / 417.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.123, allocations: 31.92 kB / 417.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.1235, allocations: 15.94 kB / 417.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1251, allocations: 0.6496 MB / 418.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1255, allocations: 0.7083 MB / 419.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.486e-05/0.1256, allocations: 16.16 kB / 419.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.1257, allocations: 27.42 kB / 419.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1257, allocations: 3.938 kB / 419.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.1507, allocations: 1.978 MB / 421.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003714/0.1511, allocations: 256.1 kB / 421.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/2.63, allocations: 0 / 421.6 MB, free: 10.36 MB / 330.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,der(d_t_new.u),der(t_new.u[1]),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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.u[1],t_new.verboseRead,t_new.y[1],time