Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test19",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.01499/0.015, 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.756/1.756, 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.001769/0.001769, allocations: 102.5 kB / 226.2 MB, free: 10.11 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.4964/0.4964, allocations: 38.05 MB / 303.7 MB, free: 42.68 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002449/0.1109, allocations: 1.306 MB / 413 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.112, allocations: 423.5 kB / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.1121, allocations: 0 / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1124, allocations: 35.89 kB / 413.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1126, allocations: 31.84 kB / 413.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1128, allocations: 51.88 kB / 413.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.113, allocations: 67.77 kB / 413.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.1131, allocations: 11.98 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.1132, allocations: 23.92 kB / 413.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.1133, allocations: 31.83 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1133, allocations: 4 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1135, allocations: 32 kB / 413.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.1135, allocations: 15.92 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.1136, allocations: 37.64 kB / 413.8 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1138, allocations: 84.05 kB / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1138, allocations: 3.938 kB / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1138, allocations: 0 / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1139, allocations: 4 kB / 413.9 MB, free: 2.531 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.0005977/0.1145, allocations: 412.7 kB / 414.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1145, allocations: 8.031 kB / 414.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.1146, allocations: 30.56 kB / 414.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1146, allocations: 7.906 kB / 414.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.1149, allocations: 202.8 kB / 414.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1149, allocations: 0 / 414.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.115, allocations: 8 kB / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1151, allocations: 41.69 kB / 414.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1152, allocations: 4 kB / 414.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1152, allocations: 0 / 414.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1152, allocations: 7.938 kB / 414.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.1153, allocations: 11.98 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.1157, allocations: 272.9 kB / 414.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.116, allocations: 38.56 kB / 414.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.116, allocations: 16.95 kB / 414.9 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1161, allocations: 11.91 kB / 414.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1162, allocations: 55.41 kB / 415 MB, free: 1.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.1163, allocations: 3.938 kB / 415 MB, free: 1.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004718/0.1167, allocations: 113.3 kB / 415.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1168, allocations: 59.39 kB / 415.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.117, allocations: 170.3 kB / 415.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1171, allocations: 29.7 kB / 415.3 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.1172, allocations: 104 kB / 415.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1172, allocations: 11.89 kB / 415.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.1172, allocations: 4 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1174, allocations: 322.8 kB / 415.8 MB, free: 404 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.1175, allocations: 12 kB / 415.8 MB, free: 392 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.1175, allocations: 23.98 kB / 415.8 MB, free: 368 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.275e-05/0.1176, allocations: 45.8 kB / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1176, allocations: 3.938 kB / 415.8 MB, free: 312 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000245/0.1179, allocations: 119.2 kB / 416 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.118, allocations: 37.69 kB / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.118, allocations: 0 / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.118, allocations: 0 / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.1181, allocations: 8 kB / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1181, allocations: 3.953 kB / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.1182, allocations: 8 kB / 416 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1182, allocations: 4 kB / 416 MB, free: 112 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.0001567/0.1184, allocations: 126.8 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1184, allocations: 15.81 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.1185, allocations: 12.31 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1185, allocations: 0 / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1185, allocations: 4.062 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1185, allocations: 4.234 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.119, allocations: 330.6 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.119, allocations: 0 / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.1191, allocations: 8 kB / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1191, allocations: 0 / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1191, allocations: 11.92 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1191, allocations: 3.953 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1191, allocations: 0 / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1194, allocations: 171.4 kB / 416.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.1194, allocations: 85.02 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1195, allocations: 3.938 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1196, allocations: 4 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.1196, allocations: 7.938 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1197, allocations: 8 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1198, allocations: 127.8 kB / 416.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1198, allocations: 0 / 416.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.1202, allocations: 24 kB / 416.9 MB, free: 15.08 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.001436/0.1217, allocations: 0.9573 MB / 417.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1219, allocations: 107.4 kB / 418 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.122, allocations: 0 / 418 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.687e-05/0.122, allocations: 19.94 kB / 418 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1225, allocations: 19.94 kB / 418 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1239, allocations: 0.6108 MB / 418.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1243, allocations: 0.7004 MB / 419.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.988e-05/0.1244, allocations: 15.98 kB / 419.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.1245, allocations: 23.42 kB / 419.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1245, allocations: 0 / 419.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1518, allocations: 2.554 MB / 421.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003944/0.1522, allocations: 247.7 kB / 422.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/2.719, allocations: 0 / 422.2 MB, free: 9.715 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