Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test5",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.00973/0.009731, 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.735/1.735, 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.001723/0.001723, allocations: 110.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.437/0.437, allocations: 38.04 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004623, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002472/0.1057, allocations: 1.314 MB / 413 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1069, allocations: 427.5 kB / 413.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.107, allocations: 0 / 413.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.1074, allocations: 91.8 kB / 413.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1076, allocations: 71.78 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1079, allocations: 55.88 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.1081, allocations: 87.73 kB / 413.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1083, allocations: 16.16 kB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.1084, allocations: 39.84 kB / 413.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1085, allocations: 51.88 kB / 413.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1086, allocations: 4 kB / 413.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1088, allocations: 39.92 kB / 413.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.92e-05/0.1089, allocations: 27.91 kB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.1089, allocations: 41.62 kB / 414 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1092, allocations: 108 kB / 414.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1092, allocations: 0 / 414.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1092, allocations: 0 / 414.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1093, allocations: 0 / 414.1 MB, free: 2.301 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006838/0.1099, allocations: 436.5 kB / 414.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.11, allocations: 12.03 kB / 414.5 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.1101, allocations: 34.56 kB / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1101, allocations: 11.81 kB / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.1104, allocations: 206.8 kB / 414.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1105, allocations: 4 kB / 414.8 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1105, allocations: 4 kB / 414.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1107, allocations: 61.55 kB / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1107, allocations: 0 / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1107, allocations: 0 / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1107, allocations: 0 / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1109, allocations: 35.97 kB / 414.9 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.1114, allocations: 308.7 kB / 415.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1115, allocations: 58.5 kB / 415.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/0.1116, allocations: 16.97 kB / 415.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1117, allocations: 4 kB / 415.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.1119, allocations: 63.39 kB / 415.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.1119, allocations: 0 / 415.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006758/0.1126, allocations: 161.1 kB / 415.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1126, allocations: 59.36 kB / 415.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.113, allocations: 227.5 kB / 415.7 MB, free: 428 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1131, allocations: 29.7 kB / 415.8 MB, free: 392 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.1132, allocations: 104.3 kB / 415.9 MB, free: 284 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.1132, allocations: 31.72 kB / 415.9 MB, free: 252 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.1132, allocations: 4 kB / 415.9 MB, free: 248 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1134, allocations: 330.8 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1135, allocations: 24 kB / 416.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.1136, allocations: 31.92 kB / 416.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1138, allocations: 53.7 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1138, allocations: 0 / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003482/0.1141, allocations: 159.1 kB / 416.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.1142, allocations: 29.7 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1142, allocations: 0 / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1142, allocations: 3.984 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.1144, allocations: 24.17 kB / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1144, allocations: 3.938 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1145, allocations: 7.891 kB / 416.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1145, allocations: 8 kB / 416.6 MB, free: 15.55 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 (10): * Single equations (assignments): 9 * 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.0001583/0.1147, allocations: 130.9 kB / 416.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1147, allocations: 11.81 kB / 416.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-05/0.1148, allocations: 25.39 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1148, allocations: 4 kB / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1149, allocations: 4 kB / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1149, allocations: 0 / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1155, allocations: 386.4 kB / 417.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1155, allocations: 4 kB / 417.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.1156, allocations: 11.98 kB / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1156, allocations: 0 / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1156, allocations: 4 kB / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1156, allocations: 4.516 kB / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1157, allocations: 0 / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.116, allocations: 199.5 kB / 417.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.116, allocations: 85.02 kB / 417.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.1161, allocations: 11.94 kB / 417.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1162, allocations: 4 kB / 417.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.1163, allocations: 11.94 kB / 417.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.1163, allocations: 4 kB / 417.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002263/0.1165, allocations: 175.5 kB / 417.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.524e-06/0.1165, allocations: 4 kB / 417.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000384/0.1169, allocations: 35.94 kB / 417.7 MB, free: 14.36 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 (8): * Single equations (assignments): 7 * 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.00152/0.1185, allocations: 0.976 MB / 418.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.1188, allocations: 119.3 kB / 418.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1188, allocations: 0 / 418.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.1189, allocations: 31.98 kB / 418.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.1194, allocations: 24.06 kB / 418.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1213, allocations: 0.8278 MB / 419.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.1217, allocations: 0.7121 MB / 420.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.736e-05/0.1218, allocations: 28.5 kB / 420.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1219, allocations: 39.42 kB / 420.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1219, allocations: 0 / 420.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.1516, allocations: 3.083 MB / 423.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005139/0.1522, allocations: 242.5 kB / 423.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/2.756, allocations: 4.062 kB / 423.7 MB, free: 8.188 MB / 330.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],t_new.y[2],time