Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test31",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.009845/0.009849, allocations: 163.8 kB / 15.12 MB, free: 5.969 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.758/1.758, 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.001787/0.001787, allocations: 110.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.4852/0.4852, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005106, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1076, allocations: 48.72 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002468/0.1101, allocations: 1.298 MB / 413 MB, free: 3.359 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1112, allocations: 419.5 kB / 413.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.1113, allocations: 0 / 413.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1115, allocations: 27.92 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1117, allocations: 31.83 kB / 413.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.112, allocations: 55.88 kB / 413.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1122, allocations: 63.77 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.1123, allocations: 15.98 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.1124, allocations: 23.91 kB / 413.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.1124, allocations: 23.86 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1125, allocations: 4 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1126, allocations: 35.98 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1127, allocations: 27.91 kB / 413.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.1127, allocations: 29.7 kB / 413.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1129, allocations: 76.12 kB / 413.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.113, allocations: 7.875 kB / 413.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.113, allocations: 8 kB / 413.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.113, allocations: 3.938 kB / 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.0005726/0.1136, allocations: 404.7 kB / 414.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1136, allocations: 8.031 kB / 414.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.1137, allocations: 38.56 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1137, allocations: 7.906 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.114, allocations: 194.8 kB / 414.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.114, allocations: 4 kB / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1141, allocations: 4 kB / 414.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1142, allocations: 45.67 kB / 414.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1142, allocations: 0 / 414.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1143, allocations: 4 kB / 414.5 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1143, allocations: 3.938 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.1143, allocations: 15.98 kB / 414.6 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1148, allocations: 272.9 kB / 414.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.115, allocations: 42.56 kB / 414.9 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.115, allocations: 8.859 kB / 414.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1151, allocations: 7.938 kB / 414.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1153, allocations: 59.48 kB / 415 MB, free: 1.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.047e-06/0.1153, allocations: 0 / 415 MB, free: 1.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004765/0.1158, allocations: 117.5 kB / 415.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1158, allocations: 55.41 kB / 415.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1161, allocations: 174.3 kB / 415.3 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1162, allocations: 29.69 kB / 415.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.1163, allocations: 99.98 kB / 415.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1163, allocations: 11.91 kB / 415.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.1163, allocations: 0 / 415.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1165, allocations: 322.8 kB / 415.7 MB, free: 400 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.1166, allocations: 19.98 kB / 415.8 MB, free: 380 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.1166, allocations: 16 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/0.1167, allocations: 53.69 kB / 415.8 MB, free: 304 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1168, allocations: 0 / 415.8 MB, free: 304 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002587/0.117, allocations: 127.3 kB / 416 MB, free: 164 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.1171, allocations: 29.7 kB / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1171, allocations: 0 / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1171, allocations: 0 / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.1172, allocations: 15.97 kB / 416 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1172, allocations: 3.953 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.868e-05/0.1173, allocations: 4.062 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1174, allocations: 8 kB / 416 MB, free: 96 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.000169/0.1175, allocations: 134.8 kB / 416.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1176, allocations: 11.81 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.1176, allocations: 8.312 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1176, allocations: 0 / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1177, allocations: 0 / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1177, allocations: 3.953 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.1181, allocations: 338.6 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1182, allocations: 4 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.1182, allocations: 8 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.1182, allocations: 0 / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1183, allocations: 3.938 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1183, allocations: 3.953 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1183, allocations: 0 / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.1185, allocations: 163.5 kB / 416.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.1186, allocations: 89 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1186, allocations: 4 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.1187, allocations: 11.94 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1188, allocations: 3.953 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1188, allocations: 7.984 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.119, allocations: 127.8 kB / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.119, allocations: 0 / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.1194, allocations: 24 kB / 416.9 MB, free: 15.07 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.001526/0.1209, allocations: 0.9675 MB / 417.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1212, allocations: 103.4 kB / 418 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1212, allocations: 0 / 418 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.1213, allocations: 15.92 kB / 418 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1217, allocations: 19.94 kB / 418 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1231, allocations: 0.6147 MB / 418.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1234, allocations: 0.7004 MB / 419.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.1235, allocations: 16.12 kB / 419.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.253e-05/0.1236, allocations: 19.44 kB / 419.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1236, allocations: 0 / 419.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1464, allocations: 2.549 MB / 421.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003865/0.1468, allocations: 251.7 kB / 422.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/2.653, allocations: 0 / 422.2 MB, free: 9.695 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