Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test15",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.009732/0.009738, allocations: 163.3 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.711/1.711, allocations: 170.8 MB / 186.6 MB, free: 1.02 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.001794/0.001794, allocations: 109.4 kB / 226.2 MB, free: 10.07 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.5006/0.5006, allocations: 38.05 MB / 303.7 MB, free: 42.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004657, allocations: 12 kB / 363 MB, free: 5.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 48.71 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002594/0.1168, allocations: 1.294 MB / 413 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.118, allocations: 423.5 kB / 413.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.1181, allocations: 0 / 413.4 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1184, allocations: 35.83 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1186, allocations: 35.84 kB / 413.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1188, allocations: 51.89 kB / 413.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.119, allocations: 67.75 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1191, allocations: 7.984 kB / 413.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.1192, allocations: 23.92 kB / 413.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.1193, allocations: 27.84 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1193, allocations: 4 kB / 413.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1195, allocations: 35.98 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.1195, allocations: 19.92 kB / 413.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.638e-05/0.1196, allocations: 33.7 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1198, allocations: 80.11 kB / 413.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1198, allocations: 3.938 kB / 413.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1198, allocations: 0 / 413.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1199, allocations: 0 / 413.8 MB, free: 2.52 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.000605/0.1205, allocations: 412.6 kB / 414.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1205, allocations: 12.03 kB / 414.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.1206, allocations: 30.56 kB / 414.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.1206, allocations: 11.91 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.1209, allocations: 190.9 kB / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1209, allocations: 4 kB / 414.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1209, allocations: 0 / 414.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1211, allocations: 49.67 kB / 414.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1211, allocations: 0 / 414.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1212, allocations: 4 kB / 414.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1212, allocations: 0 / 414.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.294e-05/0.1212, allocations: 11.94 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.1217, allocations: 284.8 kB / 414.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1219, allocations: 38.56 kB / 414.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.122, allocations: 8.859 kB / 414.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.122, allocations: 8 kB / 414.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1222, allocations: 59.42 kB / 414.9 MB, free: 1.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.727e-06/0.1222, allocations: 4 kB / 414.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004754/0.1227, allocations: 113.3 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1227, allocations: 51.41 kB / 415.1 MB, free: 1.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1229, allocations: 162.1 kB / 415.3 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.123, allocations: 25.7 kB / 415.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.1231, allocations: 96.12 kB / 415.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1231, allocations: 23.73 kB / 415.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.1231, allocations: 0 / 415.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1232, allocations: 322.8 kB / 415.7 MB, free: 412 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.1233, allocations: 15.98 kB / 415.7 MB, free: 396 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.1234, allocations: 23.92 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.1235, allocations: 45.7 kB / 415.8 MB, free: 320 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1235, allocations: 4 kB / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002423/0.1238, allocations: 119.2 kB / 415.9 MB, free: 184 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.1238, allocations: 33.7 kB / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1238, allocations: 0 / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1239, allocations: 3.984 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.124, allocations: 8 kB / 416 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.124, allocations: 3.953 kB / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/0.1241, allocations: 8 kB / 416 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1241, allocations: 0 / 416 MB, free: 120 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.0001413/0.1243, allocations: 126.8 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1243, allocations: 7.906 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1244, allocations: 12.31 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1244, allocations: 0 / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1244, allocations: 64 / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1244, allocations: 11.95 kB / 416.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.1248, allocations: 330.9 kB / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1249, allocations: 0 / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.1249, allocations: 8 kB / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1249, allocations: 0 / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.125, allocations: 4 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.125, allocations: 3.953 kB / 416.5 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.125, allocations: 7.922 kB / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1252, allocations: 167.5 kB / 416.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.1253, allocations: 89 kB / 416.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1253, allocations: 96 / 416.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.1254, allocations: 11.88 kB / 416.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1255, allocations: 3.953 kB / 416.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.1255, allocations: 11.98 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1256, allocations: 114.7 kB / 416.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1257, allocations: 0 / 416.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.1261, allocations: 31.98 kB / 416.9 MB, free: 15.1 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.001403/0.1275, allocations: 0.9449 MB / 417.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1278, allocations: 99.39 kB / 417.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1278, allocations: 4 kB / 418 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.1278, allocations: 15.94 kB / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1283, allocations: 19.94 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1296, allocations: 0.5896 MB / 418.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.13, allocations: 0.6965 MB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.239e-05/0.13, allocations: 12 kB / 419.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.1301, allocations: 23.42 kB / 419.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1301, allocations: 4 kB / 419.3 MB, free: 12.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.1534, allocations: 2.5 MB / 421.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/0.1538, allocations: 251.5 kB / 422.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/2.772, allocations: 0 / 422.1 MB, free: 9.82 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.verboseRead,t_new.y[1],time