Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test4",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.009633/0.009633, 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.695/1.695, 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.001735/0.001734, 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.4697/0.4697, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 15.98 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002463/0.1059, allocations: 1.298 MB / 413 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1071, allocations: 419.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.1072, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1075, allocations: 75.83 kB / 413.5 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1077, allocations: 55.81 kB / 413.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.108, allocations: 67.8 kB / 413.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1082, allocations: 63.83 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.1083, allocations: 7.984 kB / 413.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.67e-05/0.1084, allocations: 39.83 kB / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1085, allocations: 39.89 kB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1085, allocations: 4 kB / 413.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1087, allocations: 31.98 kB / 413.8 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.1087, allocations: 23.86 kB / 413.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.1088, allocations: 33.64 kB / 413.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.109, allocations: 92.09 kB / 413.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.109, allocations: 7.938 kB / 414 MB, free: 2.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1091, allocations: 0 / 414 MB, free: 2.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1091, 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.0005658/0.1096, allocations: 412.7 kB / 414.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1097, allocations: 12.02 kB / 414.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.1098, allocations: 30.56 kB / 414.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.1098, allocations: 11.81 kB / 414.4 MB, free: 1.898 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1101, allocations: 190.9 kB / 414.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1101, allocations: 11.94 kB / 414.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1101, allocations: 0 / 414.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1103, allocations: 41.69 kB / 414.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1103, allocations: 7.891 kB / 414.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1103, allocations: 8 kB / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1103, allocations: 0 / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.748e-05/0.1104, allocations: 4 kB / 414.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.1108, allocations: 284.9 kB / 414.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1111, allocations: 50.48 kB / 415 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.1111, allocations: 12.86 kB / 415 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1112, allocations: 0 / 415 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1113, allocations: 59.47 kB / 415.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.687e-06/0.1114, allocations: 4 kB / 415.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004713/0.1118, allocations: 117.2 kB / 415.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1119, allocations: 55.41 kB / 415.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1122, allocations: 207.3 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1122, allocations: 29.7 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1123, allocations: 100.1 kB / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.1123, allocations: 11.81 kB / 415.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.1123, allocations: 4 kB / 415.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1125, allocations: 322.8 kB / 415.9 MB, free: 248 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.073e-05/0.1126, allocations: 15.98 kB / 415.9 MB, free: 232 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.814e-05/0.1126, allocations: 27.94 kB / 415.9 MB, free: 204 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.1127, allocations: 49.73 kB / 416 MB, free: 148 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1127, allocations: 3.984 kB / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000235/0.113, allocations: 111.3 kB / 416.1 MB, free: 20 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.1131, allocations: 37.7 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1131, allocations: 64 / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1131, allocations: 7.938 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.1132, allocations: 11.98 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1132, allocations: 0 / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1133, allocations: 7.953 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1133, 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.0001247/0.1134, allocations: 122.9 kB / 416.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1135, allocations: 7.906 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.1135, allocations: 16.31 kB / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1136, allocations: 0 / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1136, allocations: 0 / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1136, allocations: 0 / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.114, allocations: 350.4 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1141, allocations: 4 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.1141, allocations: 4 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.1141, allocations: 0 / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1141, allocations: 4 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1141, allocations: 0 / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1142, allocations: 3.953 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1144, allocations: 171.3 kB / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1144, allocations: 81.02 kB / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1145, allocations: 12 kB / 416.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.1146, allocations: 7.875 kB / 416.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.1146, allocations: 7.984 kB / 416.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1147, allocations: 3.953 kB / 417 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.1148, allocations: 147.2 kB / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1149, allocations: 0 / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.1152, 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.001382/0.1166, allocations: 0.9608 MB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.1169, allocations: 103.3 kB / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1169, allocations: 0 / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.117, allocations: 19.98 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.000421/0.1174, allocations: 24.14 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.001453/0.1189, allocations: 0.6599 MB / 418.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1193, allocations: 0.7004 MB / 419.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.1193, allocations: 15.97 kB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.1194, allocations: 27.42 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1194, allocations: 0 / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.1505, allocations: 2.661 MB / 422.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005878/0.1512, allocations: 246.5 kB / 422.5 MB, free: 9.391 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/2.719, allocations: 0 / 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