Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test8",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.01127/0.01128, allocations: 162 kB / 15.11 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.654/1.654, allocations: 170.8 MB / 186.6 MB, free: 1.102 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.001954/0.001953, allocations: 106.8 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.4325/0.4325, allocations: 38.06 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005049, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002231/0.1031, allocations: 1.183 MB / 412.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00067/0.1038, allocations: 231.9 kB / 413.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.1039, allocations: 4 kB / 413.1 MB, free: 3.266 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.1046, allocations: 439.2 kB / 413.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.1051, allocations: 227.6 kB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.1052, allocations: 31.92 kB / 413.8 MB, free: 2.582 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1055, allocations: 119.7 kB / 413.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.1056, allocations: 11.98 kB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1057, allocations: 99.8 kB / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.106, allocations: 155.8 kB / 414.2 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.1061, allocations: 0 / 414.2 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.098e-05/0.1062, allocations: 11.98 kB / 414.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1063, allocations: 87.69 kB / 414.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.1064, allocations: 65.45 kB / 414.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1066, allocations: 160.1 kB / 414.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1067, allocations: 0 / 414.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1067, allocations: 0 / 414.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1067, allocations: 0 / 414.5 MB, free: 1.879 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.0008693/0.1076, allocations: 0.6005 MB / 415.1 MB, free: 1.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1076, allocations: 8.031 kB / 415.1 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.1077, allocations: 30.56 kB / 415.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.1078, allocations: 43.53 kB / 415.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.1081, allocations: 267.3 kB / 415.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1082, allocations: 8 kB / 415.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1082, allocations: 0 / 415.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1084, allocations: 49.62 kB / 415.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1084, allocations: 3.984 kB / 415.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1085, allocations: 0 / 415.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1085, allocations: 4 kB / 415.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1086, allocations: 27.98 kB / 415.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1092, allocations: 360.8 kB / 415.9 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1093, allocations: 38.5 kB / 415.9 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.1094, allocations: 20.92 kB / 415.9 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1094, allocations: 3.984 kB / 415.9 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1095, allocations: 34.56 kB / 416 MB, free: 220 kB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.1095, allocations: 0 / 416 MB, free: 220 kB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003552/0.1099, allocations: 101.1 kB / 416.1 MB, free: 112 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1099, allocations: 59.47 kB / 416.1 MB, free: 40 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.1112, allocations: 0.8496 MB / 417 MB, free: 15.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1112, allocations: 25.7 kB / 417 MB, free: 15.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.1115, allocations: 216.1 kB / 417.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1115, allocations: 3.906 kB / 417.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1115, allocations: 0 / 417.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1117, allocations: 366.7 kB / 417.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-05/0.1118, allocations: 11.98 kB / 417.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.1119, allocations: 15.94 kB / 417.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.112, allocations: 45.69 kB / 417.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.112, allocations: 0 / 417.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002896/0.1123, allocations: 118.9 kB / 417.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.1124, allocations: 33.69 kB / 417.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.1124, allocations: 7.984 kB / 417.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1124, allocations: 4 kB / 417.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.1125, allocations: 7.938 kB / 417.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1126, allocations: 0 / 417.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.1127, allocations: 7.938 kB / 417.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1127, allocations: 3.953 kB / 417.8 MB, free: 14.28 MB / 330.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 (3): * Single equations (assignments): 2 * 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.0003096/0.113, allocations: 210.8 kB / 418 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.1131, allocations: 39.44 kB / 418.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.1134, allocations: 112.5 kB / 418.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1134, allocations: 0 / 418.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1134, allocations: 0 / 418.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1135, allocations: 0 / 418.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.1139, allocations: 285.5 kB / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1139, allocations: 0 / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.1139, allocations: 4 kB / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1139, allocations: 0 / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.114, allocations: 0 / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.114, allocations: 11.97 kB / 418.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.114, allocations: 0 / 418.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1143, allocations: 191 kB / 418.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1144, allocations: 108.5 kB / 418.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.1144, allocations: 4 kB / 418.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1146, allocations: 8.031 kB / 418.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1146, allocations: 0 / 418.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1146, allocations: 0 / 418.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009422/0.1156, allocations: 0.6433 MB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.1156, allocations: 0 / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.116, allocations: 12 kB / 419.4 MB, free: 12.57 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 (2): * Single equations (assignments): 2 * 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.001101/0.1171, allocations: 0.8305 MB / 420.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1173, allocations: 79.39 kB / 420.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1174, allocations: 0 / 420.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1174, allocations: 23.98 kB / 420.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.1179, allocations: 13.91 kB / 420.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.1221, allocations: 2.176 MB / 422.6 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.1227, allocations: 0.8223 MB / 423.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.236e-05/0.1228, allocations: 11.97 kB / 423.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.123, allocations: 103.4 kB / 423.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.123, allocations: 0 / 423.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1481, allocations: 4.689 MB / 428.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/0.1485, allocations: 251.9 kB / 428.4 MB, free: 3.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.748, allocations: 0 / 428.4 MB, free: 3.484 MB / 330.7 MB "" Variables in the reference:time,t_new.y,const.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,10],t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[1,4],t_new.table[1,5],t_new.table[1,6],t_new.table[1,7],t_new.table[1,8],t_new.table[1,9],t_new.table[10,10],t_new.table[10,1],t_new.table[10,2],t_new.table[10,3],t_new.table[10,4],t_new.table[10,5],t_new.table[10,6],t_new.table[10,7],t_new.table[10,8],t_new.table[10,9],t_new.table[11,10],t_new.table[11,1],t_new.table[11,2],t_new.table[11,3],t_new.table[11,4],t_new.table[11,5],t_new.table[11,6],t_new.table[11,7],t_new.table[11,8],t_new.table[11,9],t_new.table[12,10],t_new.table[12,1],t_new.table[12,2],t_new.table[12,3],t_new.table[12,4],t_new.table[12,5],t_new.table[12,6],t_new.table[12,7],t_new.table[12,8],t_new.table[12,9],t_new.table[2,10],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[2,4],t_new.table[2,5],t_new.table[2,6],t_new.table[2,7],t_new.table[2,8],t_new.table[2,9],t_new.table[3,10],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[3,4],t_new.table[3,5],t_new.table[3,6],t_new.table[3,7],t_new.table[3,8],t_new.table[3,9],t_new.table[4,10],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[4,4],t_new.table[4,5],t_new.table[4,6],t_new.table[4,7],t_new.table[4,8],t_new.table[4,9],t_new.table[5,10],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.table[5,4],t_new.table[5,5],t_new.table[5,6],t_new.table[5,7],t_new.table[5,8],t_new.table[5,9],t_new.table[6,10],t_new.table[6,1],t_new.table[6,2],t_new.table[6,3],t_new.table[6,4],t_new.table[6,5],t_new.table[6,6],t_new.table[6,7],t_new.table[6,8],t_new.table[6,9],t_new.table[7,10],t_new.table[7,1],t_new.table[7,2],t_new.table[7,3],t_new.table[7,4],t_new.table[7,5],t_new.table[7,6],t_new.table[7,7],t_new.table[7,8],t_new.table[7,9],t_new.table[8,10],t_new.table[8,1],t_new.table[8,2],t_new.table[8,3],t_new.table[8,4],t_new.table[8,5],t_new.table[8,6],t_new.table[8,7],t_new.table[8,8],t_new.table[8,9],t_new.table[9,10],t_new.table[9,1],t_new.table[9,2],t_new.table[9,3],t_new.table[9,4],t_new.table[9,5],t_new.table[9,6],t_new.table[9,7],t_new.table[9,8],t_new.table[9,9],t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time