Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test5.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00942/0.009425, allocations: 176 kB / 15.13 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.039/2.039, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001795/0.001795, allocations: 120.2 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2496/0.2496, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004625, allocations: 15.56 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09759/0.09809, allocations: 54.88 MB / 461.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001874/0.1, allocations: 1.254 MB / 462.4 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.1007, allocations: 267.8 kB / 462.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.1007, allocations: 0 / 462.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.1013, allocations: 435.3 kB / 463.1 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1016, allocations: 223.6 kB / 463.3 MB, free: 1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.1018, allocations: 39.89 kB / 463.4 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.102, allocations: 119.7 kB / 463.5 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.1021, allocations: 15.98 kB / 463.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1022, allocations: 99.78 kB / 463.6 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.1024, allocations: 163.7 kB / 463.7 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1025, allocations: 0 / 463.7 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.121e-05/0.1026, allocations: 20 kB / 463.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.1027, allocations: 75.75 kB / 463.8 MB, free: 488 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.1027, allocations: 65.52 kB / 463.9 MB, free: 416 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1029, allocations: 167.8 kB / 464.1 MB, free: 248 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.103, allocations: 4 kB / 464.1 MB, free: 244 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.103, allocations: 0 / 464.1 MB, free: 244 kB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.103, allocations: 4 kB / 464.1 MB, free: 240 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008094/0.1038, allocations: 0.5928 MB / 464.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1039, allocations: 15.97 kB / 464.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1039, allocations: 42.5 kB / 464.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.104, allocations: 47.39 kB / 464.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1044, allocations: 259.4 kB / 465 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1044, allocations: 4 kB / 465 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1044, allocations: 3.984 kB / 465 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1046, allocations: 53.69 kB / 465.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1047, allocations: 0 / 465.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1047, allocations: 0 / 465.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1047, allocations: 0 / 465.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1049, allocations: 43.86 kB / 465.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.1055, allocations: 384.6 kB / 465.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1058, allocations: 42.56 kB / 465.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.1059, allocations: 24.94 kB / 465.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1059, allocations: 3.938 kB / 465.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.106, allocations: 34.52 kB / 465.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.106, allocations: 0 / 465.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009323/0.1069, allocations: 240.1 kB / 465.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.107, allocations: 51.41 kB / 465.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.1082, allocations: 0.8417 MB / 466.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1083, allocations: 29.69 kB / 466.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.1085, allocations: 220 kB / 467 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1086, allocations: 19.75 kB / 467 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1086, allocations: 0 / 467 MB, free: 13.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1088, allocations: 354.8 kB / 467.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.109, allocations: 31.97 kB / 467.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1091, allocations: 28.05 kB / 467.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1093, allocations: 53.69 kB / 467.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1093, allocations: 0 / 467.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004128/0.1097, allocations: 158.9 kB / 467.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.1098, allocations: 29.7 kB / 467.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1098, allocations: 4 kB / 467.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1098, allocations: 3.938 kB / 467.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1099, allocations: 15.98 kB / 467.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.11, allocations: 0 / 467.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1101, allocations: 11.94 kB / 467.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1101, allocations: 0 / 467.7 MB, free: 12.38 MB / 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.0002789/0.1104, allocations: 213.8 kB / 467.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.1105, allocations: 47.39 kB / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.1109, allocations: 140.9 kB / 468.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1109, allocations: 0 / 468.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.111, allocations: 3.938 kB / 468.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.111, allocations: 4.266 kB / 468.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007725/0.1118, allocations: 458.5 kB / 468.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1118, allocations: 4 kB / 468.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1119, allocations: 11.98 kB / 468.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1119, allocations: 4 kB / 468.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1119, allocations: 3.984 kB / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1119, allocations: 4 kB / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1119, allocations: 320 / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/0.1124, allocations: 234.9 kB / 468.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1125, allocations: 108.6 kB / 468.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1125, allocations: 4 kB / 468.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1127, allocations: 11.94 kB / 468.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1127, allocations: 3.984 kB / 468.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1127, allocations: 4 kB / 468.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009524/0.1137, allocations: 0.6394 MB / 469.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1137, allocations: 0 / 469.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.1141, allocations: 20 kB / 469.6 MB, free: 10.38 MB / 314.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.001446/0.1156, allocations: 0.9495 MB / 470.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1159, allocations: 115.4 kB / 470.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.116, allocations: 0 / 470.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1161, allocations: 31.92 kB / 470.7 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.1166, allocations: 13.97 kB / 470.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.121, allocations: 2.252 MB / 472.9 MB, free: 6.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.1216, allocations: 0.8223 MB / 473.7 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.1217, allocations: 16.17 kB / 473.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.1219, allocations: 91.41 kB / 473.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1219, allocations: 0 / 473.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.1549, allocations: 4.954 MB / 478.8 MB, free: 1.105 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.1553, allocations: 255.3 kB / 479.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/2.71, allocations: 3.938 kB / 479.1 MB, free: 0.8477 MB / 314.7 MB "" Variables in the reference:time,t_new.y,d_t_new.y,const.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,const.k,const.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),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