Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test22",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.009311/0.009317, allocations: 161.6 kB / 15.11 MB, free: 6.043 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.72/1.72, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.08 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.4349/0.4349, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.000489, allocations: 16 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 48.7 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003354/0.1162, allocations: 1.298 MB / 413 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1177, allocations: 415.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.1178, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.1182, allocations: 39.89 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1185, allocations: 31.89 kB / 413.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1189, allocations: 59.81 kB / 413.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1191, allocations: 63.78 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1192, allocations: 15.91 kB / 413.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.1193, allocations: 23.92 kB / 413.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1195, allocations: 23.84 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1195, allocations: 4 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.1197, allocations: 39.98 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.1198, allocations: 15.94 kB / 413.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.1199, allocations: 37.69 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1202, allocations: 84.05 kB / 413.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1202, allocations: 0 / 413.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1203, allocations: 0 / 413.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1203, allocations: 3.938 kB / 413.9 MB, free: 2.516 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.0007839/0.1211, allocations: 408.7 kB / 414.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.1212, allocations: 12.02 kB / 414.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.1212, allocations: 34.56 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.1213, allocations: 7.906 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.1216, allocations: 198.8 kB / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1217, allocations: 0 / 414.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.1217, allocations: 4 kB / 414.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1219, allocations: 45.69 kB / 414.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1219, allocations: 0 / 414.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.122, allocations: 3.984 kB / 414.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.122, allocations: 0 / 414.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.1221, allocations: 15.94 kB / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005542/0.1227, allocations: 284.9 kB / 414.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.123, allocations: 38.56 kB / 414.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.1231, allocations: 12.86 kB / 414.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1231, allocations: 0 / 414.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.1233, allocations: 67.42 kB / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.1234, allocations: 3.938 kB / 415 MB, free: 1.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006149/0.124, allocations: 113.3 kB / 415.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1241, allocations: 51.41 kB / 415.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.1244, allocations: 174.3 kB / 415.3 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1244, allocations: 25.7 kB / 415.3 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1245, allocations: 108 kB / 415.4 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1246, allocations: 7.906 kB / 415.4 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/0.1246, allocations: 0 / 415.4 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1248, allocations: 322.8 kB / 415.7 MB, free: 396 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.1249, allocations: 23.98 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.125, allocations: 12 kB / 415.8 MB, free: 360 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1252, allocations: 53.73 kB / 415.8 MB, free: 300 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1252, allocations: 0 / 415.8 MB, free: 300 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003585/0.1256, allocations: 123.2 kB / 416 MB, free: 164 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.1257, allocations: 33.7 kB / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1257, allocations: 0 / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1257, allocations: 0 / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.1258, allocations: 12 kB / 416 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1259, allocations: 3.953 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.126, allocations: 16.05 kB / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.126, allocations: 0 / 416 MB, free: 92 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.0001558/0.1262, allocations: 126.8 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1262, allocations: 7.812 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.1263, allocations: 20.3 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.1263, allocations: 0 / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1263, allocations: 0 / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.1263, allocations: 7.953 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.127, allocations: 326.9 kB / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.127, allocations: 0 / 416.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.1271, allocations: 7.984 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1271, allocations: 4 kB / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1271, allocations: 0 / 416.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/0.1271, allocations: 7.891 kB / 416.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1272, allocations: 3.984 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.1275, allocations: 167.5 kB / 416.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.1276, allocations: 89.02 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1276, allocations: 7.922 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1278, allocations: 0 / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.1279, allocations: 7.953 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.1279, allocations: 4 kB / 416.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001979/0.1281, allocations: 123.8 kB / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.1281, allocations: 3.938 kB / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006031/0.1288, allocations: 35.98 kB / 417 MB, free: 15.06 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.002274/0.1311, allocations: 0.952 MB / 417.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.1315, allocations: 103.4 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1315, allocations: 0 / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1317, allocations: 19.94 kB / 418 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.1324, allocations: 23.88 kB / 418 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.1355, allocations: 0.6108 MB / 418.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.1367, allocations: 0.7004 MB / 419.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.1368, allocations: 8 kB / 419.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1369, allocations: 27.42 kB / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1369, allocations: 0 / 419.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.1641, allocations: 2.549 MB / 421.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003857/0.1645, allocations: 251.6 kB / 422.2 MB, free: 9.699 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.621, allocations: 3.938 kB / 422.2 MB, free: 9.695 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