Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test21",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.009325/0.009325, allocations: 162.8 kB / 15.12 MB, free: 5.973 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.743/1.743, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.001729/0.001729, 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.5363/0.5363, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 48.72 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002585/0.1082, allocations: 1.298 MB / 413 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1094, allocations: 419.4 kB / 413.4 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.1095, allocations: 8 kB / 413.4 MB, free: 2.941 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1098, allocations: 31.91 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.11, allocations: 27.84 kB / 413.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1103, allocations: 59.86 kB / 413.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1104, allocations: 59.78 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1106, allocations: 15.97 kB / 413.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.837e-05/0.1107, allocations: 23.91 kB / 413.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.1107, allocations: 27.86 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.1108, allocations: 4 kB / 413.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1109, allocations: 35.98 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.111, allocations: 23.92 kB / 413.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.111, allocations: 33.64 kB / 413.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1113, allocations: 80.11 kB / 413.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1113, allocations: 3.938 kB / 413.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1113, allocations: 4 kB / 413.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1113, allocations: 0 / 413.9 MB, free: 2.512 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.0005896/0.1119, allocations: 404.7 kB / 414.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.112, allocations: 8.031 kB / 414.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.112, allocations: 42.55 kB / 414.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.1121, allocations: 7.906 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1123, allocations: 198.8 kB / 414.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1124, allocations: 4 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.1124, allocations: 3.984 kB / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1126, allocations: 41.69 kB / 414.5 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1126, allocations: 3.938 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1126, allocations: 4 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1126, allocations: 4 kB / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.1127, allocations: 15.98 kB / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1131, allocations: 276.9 kB / 414.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1134, allocations: 34.58 kB / 414.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.1134, allocations: 16.88 kB / 414.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1135, allocations: 4 kB / 414.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1137, allocations: 59.41 kB / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.528e-06/0.1137, allocations: 0 / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004837/0.1142, allocations: 125.2 kB / 415.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1142, allocations: 51.41 kB / 415.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1145, allocations: 170.3 kB / 415.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1145, allocations: 25.7 kB / 415.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.1146, allocations: 104 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.1146, allocations: 15.91 kB / 415.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1146, allocations: 0 / 415.4 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1148, allocations: 326.8 kB / 415.8 MB, free: 384 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.1149, allocations: 16 kB / 415.8 MB, free: 368 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.1149, allocations: 19.98 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.115, allocations: 45.7 kB / 415.8 MB, free: 296 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1151, allocations: 0 / 415.8 MB, free: 296 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002681/0.1153, allocations: 127.2 kB / 416 MB, free: 156 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.1154, allocations: 33.69 kB / 416 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1154, allocations: 4 kB / 416 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1154, allocations: 0 / 416 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.1155, allocations: 8 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1156, allocations: 7.953 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.1156, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1157, allocations: 4 kB / 416 MB, free: 92 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.0001638/0.1158, allocations: 130.8 kB / 416.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1159, allocations: 11.81 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.1159, allocations: 12.25 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1159, allocations: 4 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.116, allocations: 0 / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.116, allocations: 3.953 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1165, allocations: 330.6 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1165, allocations: 4 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.1165, allocations: 7.938 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1165, allocations: 288 / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1166, allocations: 3.984 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1166, allocations: 3.953 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1166, allocations: 8.125 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1168, allocations: 163.5 kB / 416.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1169, allocations: 92.94 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.1169, allocations: 4 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.1171, allocations: 11.92 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1171, allocations: 3.953 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.1171, allocations: 4 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1173, allocations: 131.8 kB / 416.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1173, allocations: 0 / 416.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.1177, allocations: 27.98 kB / 417 MB, free: 15.05 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.001428/0.1191, allocations: 0.948 MB / 417.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002962/0.1194, allocations: 103.4 kB / 418 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1194, allocations: 0 / 418 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.1195, allocations: 11.94 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.12, allocations: 19.94 kB / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.1214, allocations: 0.6186 MB / 418.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1217, allocations: 0.6965 MB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.344e-05/0.1218, allocations: 8 kB / 419.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.1219, allocations: 23.42 kB / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1219, allocations: 4 kB / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1502, allocations: 2.561 MB / 422 MB, free: 10.01 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004075/0.1507, allocations: 251.7 kB / 422.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/2.676, allocations: 0 / 422.2 MB, free: 9.691 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.verboseRead,t_new.y[1],time