Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test55",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.01103/0.01104, allocations: 162.6 kB / 15.12 MB, free: 6.023 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.773/1.773, allocations: 170.8 MB / 186.7 MB, free: 1.109 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.001718/0.001718, allocations: 114.7 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.5091/0.5091, allocations: 38.06 MB / 303.7 MB, free: 42.69 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004775, allocations: 12 kB / 363 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 48.73 MB / 411.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002538/0.1072, allocations: 1.291 MB / 413 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1093, allocations: 1.004 MB / 414 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.1094, allocations: 3.938 kB / 414 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1098, allocations: 23.91 kB / 414 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.11, allocations: 35.89 kB / 414.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1103, allocations: 59.81 kB / 414.1 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1104, allocations: 63.83 kB / 414.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.1106, allocations: 7.984 kB / 414.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.1106, allocations: 31.84 kB / 414.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1108, allocations: 31.86 kB / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1109, allocations: 0 / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.1111, allocations: 59.95 kB / 414.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.1111, allocations: 4 kB / 414.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1112, allocations: 37.64 kB / 414.4 MB, free: 1.977 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1114, allocations: 100 kB / 414.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1115, allocations: 0 / 414.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1115, allocations: 0 / 414.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1115, allocations: 0 / 414.5 MB, free: 1.879 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.0006316/0.1121, allocations: 400.8 kB / 414.9 MB, free: 1.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1122, allocations: 16.03 kB / 414.9 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.1122, allocations: 34.56 kB / 414.9 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.1123, allocations: 7.906 kB / 414.9 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1126, allocations: 187 kB / 415.1 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1126, allocations: 3.938 kB / 415.1 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1126, allocations: 4 kB / 415.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1128, allocations: 63.34 kB / 415.2 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1128, allocations: 3.906 kB / 415.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1129, allocations: 7.984 kB / 415.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1129, allocations: 0 / 415.2 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.113, allocations: 12 kB / 415.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1134, allocations: 276.9 kB / 415.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1136, allocations: 42.5 kB / 415.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.1137, allocations: 12.86 kB / 415.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1137, allocations: 8 kB / 415.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.1139, allocations: 55.48 kB / 415.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.068e-06/0.1139, allocations: 3.984 kB / 415.6 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005071/0.1145, allocations: 109.4 kB / 415.7 MB, free: 472 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.1145, allocations: 81.11 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1147, allocations: 137.8 kB / 415.9 MB, free: 224 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1148, allocations: 25.7 kB / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.1149, allocations: 100 kB / 416 MB, free: 88 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1149, allocations: 15.84 kB / 416 MB, free: 72 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.1149, allocations: 0 / 416 MB, free: 72 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1151, allocations: 318.8 kB / 416.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.1152, allocations: 16 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.1152, allocations: 37.64 kB / 416.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.1154, allocations: 49.7 kB / 416.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1154, allocations: 0 / 416.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002568/0.1156, allocations: 127.2 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.1157, allocations: 33.7 kB / 416.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1157, allocations: 0 / 416.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1157, allocations: 0 / 416.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.1158, allocations: 16.05 kB / 416.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1158, allocations: 4 kB / 416.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.1159, allocations: 7.953 kB / 416.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.116, allocations: 4 kB / 416.6 MB, free: 15.43 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.0001207/0.1161, allocations: 118.8 kB / 416.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1161, allocations: 11.91 kB / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.1162, allocations: 15.95 kB / 416.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1162, allocations: 3.938 kB / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1162, allocations: 0 / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1162, allocations: 0 / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.1167, allocations: 334.5 kB / 417.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1167, allocations: 4 kB / 417.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1168, allocations: 7.984 kB / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1168, allocations: 0 / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1168, allocations: 4.094 kB / 417.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1168, allocations: 3.938 kB / 417.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1168, allocations: 3.953 kB / 417.1 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.1171, allocations: 167.4 kB / 417.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.1171, allocations: 93 kB / 417.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1172, allocations: 0 / 417.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.1173, allocations: 4 kB / 417.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.1173, allocations: 0 / 417.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.1174, allocations: 15.94 kB / 417.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1175, allocations: 102.9 kB / 417.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1175, allocations: 0 / 417.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.1179, allocations: 43.98 kB / 417.6 MB, free: 14.42 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.001707/0.1196, allocations: 1.018 MB / 418.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1199, allocations: 107.3 kB / 418.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1199, allocations: 4 kB / 418.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.12, allocations: 12 kB / 418.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1204, allocations: 23.86 kB / 418.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1217, allocations: 0.5379 MB / 419.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1221, allocations: 0.6939 MB / 420 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1222, allocations: 11.98 kB / 420 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.1223, allocations: 19.42 kB / 420 MB, free: 11.93 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1223, allocations: 0 / 420 MB, free: 11.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.1527, allocations: 2.803 MB / 422.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004441/0.1532, allocations: 248.1 kB / 423 MB, free: 8.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/2.714, allocations: 4 kB / 423 MB, free: 8.812 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.verboseRead,t_new.y[1],time