Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test9",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.009342/0.009346, 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.85/1.85, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.002287/0.002287, allocations: 114.4 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.4746/0.4746, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006601/0.0006603, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1078, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00257/0.1105, allocations: 1.295 MB / 413 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1117, allocations: 419.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.1118, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.1122, allocations: 79.83 kB / 413.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1124, allocations: 51.81 kB / 413.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.1127, allocations: 63.8 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1129, allocations: 67.83 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.113, allocations: 11.97 kB / 413.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.1131, allocations: 35.84 kB / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1133, allocations: 47.88 kB / 413.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1133, allocations: 0 / 413.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1135, allocations: 28 kB / 413.8 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.1135, allocations: 19.92 kB / 413.8 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.1136, allocations: 41.58 kB / 413.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1138, allocations: 88.09 kB / 413.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1139, allocations: 7.938 kB / 414 MB, free: 2.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1139, allocations: 0 / 414 MB, free: 2.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1139, allocations: 0 / 414 MB, free: 2.418 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.0006219/0.1145, allocations: 416.7 kB / 414.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1146, allocations: 8.031 kB / 414.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.1146, allocations: 30.56 kB / 414.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1147, allocations: 11.81 kB / 414.4 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1149, allocations: 190.9 kB / 414.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.115, allocations: 11.94 kB / 414.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.115, allocations: 0 / 414.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1152, allocations: 45.67 kB / 414.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1152, allocations: 3.906 kB / 414.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1152, allocations: 8 kB / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1152, allocations: 0 / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.1153, allocations: 11.98 kB / 414.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1158, allocations: 284.9 kB / 415 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.116, allocations: 50.48 kB / 415 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.1161, allocations: 12.86 kB / 415 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1161, allocations: 4.078 kB / 415 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1163, allocations: 55.41 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.961e-06/0.1163, allocations: 0 / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004822/0.1168, allocations: 117.2 kB / 415.2 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.1169, allocations: 55.41 kB / 415.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.1172, allocations: 207.3 kB / 415.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1172, allocations: 33.69 kB / 415.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.1173, allocations: 96.14 kB / 415.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1173, allocations: 15.8 kB / 415.6 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.1174, allocations: 4 kB / 415.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1175, allocations: 318.8 kB / 415.9 MB, free: 244 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.1176, allocations: 15.98 kB / 415.9 MB, free: 228 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1176, allocations: 31.92 kB / 415.9 MB, free: 196 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.1177, allocations: 45.8 kB / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1178, allocations: 3.938 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002469/0.118, allocations: 111.3 kB / 416.1 MB, free: 16 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.052e-05/0.1181, allocations: 37.7 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1181, allocations: 0 / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1182, allocations: 3.984 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.1183, allocations: 11.94 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1183, allocations: 0 / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.1183, allocations: 7.953 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1184, allocations: 8 kB / 416.2 MB, free: 15.94 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: 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.0001333/0.1185, allocations: 122.9 kB / 416.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1186, allocations: 7.906 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.1186, allocations: 16.31 kB / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1186, allocations: 0 / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1187, allocations: 0 / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1187, allocations: 3.984 kB / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1191, allocations: 346.4 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1192, allocations: 4 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.1192, allocations: 4 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1192, allocations: 0 / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1192, allocations: 7.984 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1193, allocations: 0 / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1193, allocations: 3.953 kB / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1195, allocations: 167.4 kB / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1196, allocations: 85.02 kB / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.1196, allocations: 8.188 kB / 416.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.1197, allocations: 11.92 kB / 416.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.1198, allocations: 7.938 kB / 417 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.1198, allocations: 3.953 kB / 417 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.12, allocations: 147.2 kB / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.12, allocations: 0 / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.1204, allocations: 28 kB / 417.1 MB, free: 14.89 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.001419/0.1218, allocations: 0.9565 MB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1221, allocations: 111.3 kB / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1221, allocations: 0 / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.1222, allocations: 16 kB / 418.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.1227, allocations: 23.98 kB / 418.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1241, allocations: 0.656 MB / 418.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1245, allocations: 0.7121 MB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.575e-05/0.1246, allocations: 8 kB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1247, allocations: 27.42 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1247, allocations: 4 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.1538, allocations: 2.661 MB / 422.3 MB, free: 9.672 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/0.1541, allocations: 238.5 kB / 422.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/2.682, allocations: 4 kB / 422.5 MB, free: 9.391 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.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time