Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test26.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.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test26",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.009561/0.009566, allocations: 162 kB / 15.12 MB, free: 6.027 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.694/1.694, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.00175/0.00175, allocations: 110 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.4838/0.4839, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004551, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002398/0.1053, allocations: 1.302 MB / 413 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1064, allocations: 423.5 kB / 413.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.1065, allocations: 0 / 413.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.1068, allocations: 31.89 kB / 413.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.107, allocations: 31.91 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1073, allocations: 55.81 kB / 413.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1074, allocations: 67.77 kB / 413.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1075, allocations: 11.98 kB / 413.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.1076, allocations: 23.92 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.1077, allocations: 31.83 kB / 413.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1077, allocations: 4 kB / 413.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1079, allocations: 32 kB / 413.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.1079, allocations: 19.92 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.108, allocations: 33.7 kB / 413.8 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1082, allocations: 99.97 kB / 413.9 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1082, allocations: 3.938 kB / 413.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1083, allocations: 0 / 413.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1083, allocations: 0 / 413.9 MB, free: 2.527 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005835/0.1089, allocations: 400.7 kB / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1089, allocations: 12.03 kB / 414.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.109, allocations: 38.55 kB / 414.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.109, allocations: 7.906 kB / 414.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1093, allocations: 195.4 kB / 414.5 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1093, allocations: 4 kB / 414.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1094, allocations: 4 kB / 414.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1095, allocations: 41.69 kB / 414.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1095, allocations: 0 / 414.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1095, allocations: 0 / 414.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1096, allocations: 7.922 kB / 414.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.1096, allocations: 12 kB / 414.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1101, allocations: 284.9 kB / 414.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1103, allocations: 42.56 kB / 414.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.1104, allocations: 8.859 kB / 414.9 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1104, allocations: 7.938 kB / 414.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.1106, allocations: 63.39 kB / 415 MB, free: 1.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.1106, allocations: 3.938 kB / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004753/0.1111, allocations: 117.4 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1111, allocations: 59.41 kB / 415.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1114, allocations: 186.3 kB / 415.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1114, allocations: 29.7 kB / 415.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.1115, allocations: 92.14 kB / 415.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1116, allocations: 19.8 kB / 415.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.1116, allocations: 0 / 415.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1118, allocations: 322.8 kB / 415.8 MB, free: 388 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1118, allocations: 16 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.1119, allocations: 23.98 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.112, allocations: 45.7 kB / 415.9 MB, free: 296 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.112, allocations: 96 / 415.9 MB, free: 296 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002466/0.1123, allocations: 127.2 kB / 416 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.1123, allocations: 29.7 kB / 416 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1123, allocations: 3.984 kB / 416 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1124, allocations: 0 / 416 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.1124, allocations: 8 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1125, allocations: 4.156 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1125, allocations: 3.953 kB / 416 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1126, allocations: 12.06 kB / 416.1 MB, free: 88 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001575/0.1127, allocations: 134.8 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.1128, allocations: 7.906 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.1128, allocations: 12.31 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1129, allocations: 4 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1129, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1129, allocations: 3.984 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1134, allocations: 330.5 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1134, allocations: 4 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.1134, allocations: 8 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1134, allocations: 0 / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1135, allocations: 3.938 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1135, allocations: 3.984 kB / 416.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1135, allocations: 3.953 kB / 416.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1137, allocations: 167.4 kB / 416.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.1138, allocations: 89.02 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1138, allocations: 7.938 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.1139, allocations: 4 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.114, allocations: 3.984 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.114, allocations: 7.953 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1142, allocations: 139.2 kB / 417 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1142, allocations: 0 / 417 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.1145, allocations: 35.94 kB / 417 MB, free: 15.04 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00141/0.116, allocations: 0.9447 MB / 417.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1162, allocations: 103.4 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1162, allocations: 0 / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.1163, allocations: 19.94 kB / 418.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1167, allocations: 23.92 kB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1181, allocations: 0.6397 MB / 418.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1185, allocations: 0.7083 MB / 419.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.1185, allocations: 11.86 kB / 419.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.1186, allocations: 23.42 kB / 419.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1186, allocations: 0 / 419.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.1398, allocations: 2.607 MB / 422.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/0.1401, allocations: 255.6 kB / 422.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/2.779, allocations: 4 kB / 422.3 MB, free: 9.586 MB / 330.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,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.verboseRead,t_new.y[1],time