Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test12",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.009348/0.009353, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.811/1.811, allocations: 170.8 MB / 186.7 MB, free: 1.109 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.001733/0.001733, allocations: 98.83 kB / 226.2 MB, free: 10.1 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.4327/0.4327, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004794, allocations: 15.94 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002306/0.1075, allocations: 1.226 MB / 412.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1092, allocations: 0.8323 MB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.1092, allocations: 0 / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.1094, allocations: 15.92 kB / 413.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.1096, allocations: 27.91 kB / 413.8 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.1098, allocations: 31.91 kB / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1099, allocations: 47.84 kB / 413.9 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.11, allocations: 23.97 kB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.1101, allocations: 15.94 kB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.1103, allocations: 27.89 kB / 414 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1103, allocations: 0 / 414 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1105, allocations: 43.92 kB / 414 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.1105, allocations: 7.984 kB / 414 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1105, allocations: 33.64 kB / 414 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1107, allocations: 72.06 kB / 414.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1107, allocations: 4 kB / 414.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1108, allocations: 0 / 414.1 MB, free: 2.262 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1108, allocations: 4 kB / 414.1 MB, free: 2.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005928/0.1114, allocations: 392.8 kB / 414.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1114, allocations: 15.97 kB / 414.5 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.1115, allocations: 30.56 kB / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1115, allocations: 4 kB / 414.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1118, allocations: 182.9 kB / 414.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1118, allocations: 12 kB / 414.7 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1118, allocations: 0 / 414.7 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1121, allocations: 83.31 kB / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1121, allocations: 3.984 kB / 414.8 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1121, allocations: 0 / 414.8 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1121, allocations: 0 / 414.8 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.1124, allocations: 47.97 kB / 414.9 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1129, allocations: 280.8 kB / 415.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1131, allocations: 54.5 kB / 415.2 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1132, allocations: 28.94 kB / 415.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1133, allocations: 0 / 415.2 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1133, allocations: 30.56 kB / 415.3 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1133, allocations: 4 kB / 415.3 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001219/0.1145, allocations: 241.2 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.1146, allocations: 77.11 kB / 415.6 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1148, allocations: 121.8 kB / 415.7 MB, free: 472 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1148, allocations: 29.7 kB / 415.7 MB, free: 436 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.1149, allocations: 88.14 kB / 415.8 MB, free: 344 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1149, allocations: 27.72 kB / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.1149, allocations: 0 / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1151, allocations: 318.8 kB / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.1153, allocations: 47.97 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.1156, allocations: 57.69 kB / 416.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1159, allocations: 77.64 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1159, allocations: 0 / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005618/0.1164, allocations: 159.2 kB / 416.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.1165, allocations: 29.7 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1165, allocations: 3.938 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1165, allocations: 7.938 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.1168, allocations: 23.94 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1168, allocations: 0 / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.1169, allocations: 27.98 kB / 416.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1169, allocations: 0 / 416.6 MB, free: 15.53 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 (8): * Single equations (assignments): 7 * 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.0001137/0.1171, allocations: 118.8 kB / 416.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.1171, allocations: 11.89 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.1177, allocations: 142.3 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1177, allocations: 0 / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1177, allocations: 7.953 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1177, allocations: 0 / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.1186, allocations: 394.5 kB / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1186, allocations: 3.984 kB / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.1188, allocations: 23.98 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1188, allocations: 4 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1188, allocations: 3.953 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1188, allocations: 0 / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1188, allocations: 0 / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.1194, allocations: 227.4 kB / 417.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.1195, allocations: 88.95 kB / 417.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1195, allocations: 0 / 417.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1197, allocations: 19.94 kB / 417.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1198, allocations: 11.98 kB / 417.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1198, allocations: 4 kB / 417.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.1199, allocations: 91.27 kB / 417.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1199, allocations: 0 / 417.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.1202, allocations: 28 kB / 417.7 MB, free: 14.27 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 (7): * Single equations (assignments): 7 * 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.001672/0.1219, allocations: 0.9725 MB / 418.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.1225, allocations: 155.3 kB / 418.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1225, allocations: 0 / 418.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002378/0.1228, allocations: 47.97 kB / 418.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1232, allocations: 15.95 kB / 418.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1249, allocations: 0.5841 MB / 419.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1252, allocations: 0.6887 MB / 420.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1253, allocations: 12.39 kB / 420.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.141e-05/0.1255, allocations: 31.42 kB / 420.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1255, allocations: 3.938 kB / 420.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.1552, allocations: 2.222 MB / 422.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.1556, allocations: 241.8 kB / 422.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.637, allocations: 0 / 422.7 MB, free: 9.219 MB / 330.7 MB "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time