Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test34",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.01402/0.01402, allocations: 162.5 kB / 15.12 MB, free: 5.957 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.754/1.754, allocations: 170.8 MB / 186.7 MB, free: 1.102 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.001706/0.001706, allocations: 110.8 kB / 226.2 MB, free: 10.07 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.4388/0.4388, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005126, allocations: 16 kB / 363 MB, free: 5.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 48.71 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002529/0.1081, allocations: 1.302 MB / 413 MB, free: 3.355 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1094, allocations: 427.5 kB / 413.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.1095, allocations: 0 / 413.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.1099, allocations: 27.91 kB / 413.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1101, allocations: 31.84 kB / 413.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1104, allocations: 55.88 kB / 413.5 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1106, allocations: 63.77 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1108, allocations: 11.97 kB / 413.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1109, allocations: 27.92 kB / 413.6 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.111, allocations: 31.8 kB / 413.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.111, allocations: 0 / 413.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.1112, allocations: 39.97 kB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.1113, allocations: 19.92 kB / 413.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1114, allocations: 33.7 kB / 413.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1116, allocations: 80.06 kB / 413.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.1116, allocations: 0 / 413.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1116, allocations: 3.938 kB / 413.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1117, allocations: 0 / 413.8 MB, free: 2.508 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.000669/0.1123, allocations: 412.7 kB / 414.2 MB, free: 2.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1124, allocations: 12.03 kB / 414.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.1125, allocations: 30.56 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.1125, allocations: 7.906 kB / 414.3 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1128, allocations: 198.8 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1128, allocations: 4 kB / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.1129, allocations: 8 kB / 414.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.113, allocations: 45.67 kB / 414.5 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1131, allocations: 4 kB / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1131, allocations: 0 / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1131, allocations: 0 / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.1132, allocations: 19.92 kB / 414.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.1137, allocations: 272.9 kB / 414.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.1139, allocations: 38.56 kB / 414.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.114, allocations: 12.86 kB / 414.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.114, allocations: 4 kB / 414.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.1142, allocations: 59.42 kB / 414.9 MB, free: 1.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.1142, allocations: 3.938 kB / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005067/0.1147, allocations: 121.3 kB / 415.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1148, allocations: 51.41 kB / 415.1 MB, free: 1.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1151, allocations: 174.3 kB / 415.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1151, allocations: 25.7 kB / 415.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.1152, allocations: 108 kB / 415.4 MB, free: 0.707 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1152, allocations: 11.89 kB / 415.4 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.1152, allocations: 4 kB / 415.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1154, allocations: 318.8 kB / 415.7 MB, free: 380 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1155, allocations: 15.98 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/0.1155, allocations: 20 kB / 415.8 MB, free: 344 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.1156, allocations: 53.72 kB / 415.8 MB, free: 284 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1157, allocations: 0 / 415.8 MB, free: 284 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002487/0.1159, allocations: 123.2 kB / 416 MB, free: 148 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.116, allocations: 33.7 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.116, allocations: 0 / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.116, allocations: 4 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.1161, allocations: 15.98 kB / 416 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1161, allocations: 3.953 kB / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.1162, allocations: 0 / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1162, allocations: 4 kB / 416 MB, free: 80 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.00015/0.1164, allocations: 126.8 kB / 416.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1164, allocations: 11.81 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.1165, allocations: 16.31 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1165, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1165, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1165, allocations: 7.953 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.117, allocations: 330.6 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.117, allocations: 0 / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.1171, allocations: 4 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1171, allocations: 0 / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1171, allocations: 0 / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1171, allocations: 15.89 kB / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1171, allocations: 0 / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.1174, allocations: 171.6 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1174, allocations: 85 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1175, allocations: 7.938 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.1176, allocations: 0 / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1176, allocations: 11.94 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1177, allocations: 0 / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1178, allocations: 135.8 kB / 416.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1178, allocations: 0 / 416.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003774/0.1182, allocations: 24 kB / 416.9 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.001471/0.1197, allocations: 0.9654 MB / 417.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.12, allocations: 99.39 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.12, allocations: 0 / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.1201, allocations: 23.92 kB / 418 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1205, allocations: 19.94 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.001354/0.1219, allocations: 0.6069 MB / 418.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1222, allocations: 0.7004 MB / 419.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.044e-05/0.1223, allocations: 11.98 kB / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.1224, allocations: 27.44 kB / 419.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1224, allocations: 0 / 419.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.1481, allocations: 2.546 MB / 421.9 MB, free: 10 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003954/0.1486, allocations: 255.5 kB / 422.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/2.643, allocations: 0 / 422.2 MB, free: 9.68 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