Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test25",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.009858/0.009863, allocations: 162.4 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.746/1.746, 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.001728/0.001728, 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.4761/0.4761, allocations: 38.06 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004938, allocations: 19.98 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002431/0.1104, allocations: 1.294 MB / 413 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1115, allocations: 427.5 kB / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.1116, allocations: 0 / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1119, allocations: 35.89 kB / 413.5 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1121, allocations: 23.92 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1123, allocations: 63.8 kB / 413.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1125, allocations: 63.77 kB / 413.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.1126, allocations: 15.97 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.1127, allocations: 23.92 kB / 413.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.1128, allocations: 27.86 kB / 413.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1128, allocations: 3.938 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.113, allocations: 35.98 kB / 413.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.113, allocations: 23.91 kB / 413.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.1131, allocations: 33.7 kB / 413.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1133, allocations: 84.11 kB / 413.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1133, allocations: 3.938 kB / 413.9 MB, free: 2.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1133, allocations: 4 kB / 413.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1133, allocations: 0 / 413.9 MB, free: 2.527 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.0005656/0.1139, allocations: 412.6 kB / 414.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.114, allocations: 8.031 kB / 414.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.114, allocations: 38.56 kB / 414.3 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1141, allocations: 7.906 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1143, allocations: 195.4 kB / 414.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1144, allocations: 0 / 414.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1144, allocations: 4 kB / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1145, allocations: 49.67 kB / 414.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1146, allocations: 0 / 414.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1146, allocations: 0 / 414.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1146, allocations: 0 / 414.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.863e-05/0.1147, allocations: 19.92 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.1151, allocations: 276.9 kB / 414.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.1154, allocations: 42.56 kB / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.1154, allocations: 8.859 kB / 414.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1154, allocations: 0 / 414.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1156, allocations: 71.33 kB / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.406e-06/0.1156, allocations: 0 / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004682/0.1161, allocations: 117.2 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.1162, allocations: 55.34 kB / 415.1 MB, free: 1.047 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.1164, allocations: 190.3 kB / 415.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1165, allocations: 33.7 kB / 415.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.1166, allocations: 96.12 kB / 415.5 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1166, allocations: 15.8 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.1166, allocations: 4 kB / 415.5 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1168, allocations: 318.8 kB / 415.8 MB, free: 384 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.1168, allocations: 20 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.1169, allocations: 15.98 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.481e-05/0.117, allocations: 53.73 kB / 415.9 MB, free: 288 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.117, allocations: 4 kB / 415.9 MB, free: 284 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002355/0.1173, allocations: 119.2 kB / 416 MB, free: 152 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1173, allocations: 37.69 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1173, allocations: 0 / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1174, allocations: 64 / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.1174, allocations: 12 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1175, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.634e-05/0.1175, allocations: 7.953 kB / 416 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.1176, allocations: 11.98 kB / 416.1 MB, free: 76 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.0001516/0.1177, allocations: 122.9 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1178, allocations: 7.906 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.1178, allocations: 16.3 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1178, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1179, allocations: 3.938 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1179, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1183, allocations: 334.5 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1183, allocations: 0 / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.1184, allocations: 7.984 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1184, allocations: 4 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1184, allocations: 4 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1184, allocations: 0 / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1184, allocations: 3.953 kB / 416.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1187, allocations: 171.3 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.1188, allocations: 85.02 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1188, allocations: 7.984 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.1189, allocations: 3.938 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1189, allocations: 8 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.119, allocations: 3.953 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1191, allocations: 139.2 kB / 417 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1192, allocations: 0 / 417 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.1196, allocations: 35.94 kB / 417 MB, free: 15.04 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.001407/0.121, allocations: 0.9494 MB / 417.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1212, allocations: 103.4 kB / 418 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1212, allocations: 0 / 418 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/0.1213, allocations: 19.92 kB / 418.1 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.000409/0.1217, allocations: 15.98 kB / 418.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.1231, allocations: 0.6436 MB / 418.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1235, allocations: 0.7083 MB / 419.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.1236, allocations: 11.84 kB / 419.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.1237, allocations: 27.42 kB / 419.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1237, allocations: 0 / 419.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.1455, allocations: 2.606 MB / 422.1 MB, free: 9.91 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.1459, allocations: 251.7 kB / 422.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/2.714, allocations: 0 / 422.3 MB, free: 9.59 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.verboseRead,t_new.y[1],time