Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009686/0.009691, allocations: 177 kB / 15.13 MB, free: 6.02 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.062/2.062, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001773/0.001773, allocations: 112.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2522/0.2522, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.0006912, allocations: 11.97 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1226, allocations: 54.88 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002019/0.1247, allocations: 1.365 MB / 462.5 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1261, allocations: 0.7189 MB / 463.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.1262, allocations: 3.938 kB / 463.3 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1266, allocations: 87.8 kB / 463.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1268, allocations: 71.83 kB / 463.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.127, allocations: 51.83 kB / 463.5 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1272, allocations: 107.7 kB / 463.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1273, allocations: 7.984 kB / 463.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.1274, allocations: 43.84 kB / 463.6 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1275, allocations: 59.8 kB / 463.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1276, allocations: 4 kB / 463.7 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1277, allocations: 32 kB / 463.7 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.1278, allocations: 31.89 kB / 463.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1278, allocations: 45.58 kB / 463.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.128, allocations: 99.8 kB / 463.9 MB, free: 452 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.128, allocations: 0 / 463.9 MB, free: 452 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.128, allocations: 0 / 463.9 MB, free: 452 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1281, allocations: 0 / 463.9 MB, free: 452 kB / 298.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.0005747/0.1286, allocations: 473.3 kB / 464.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1287, allocations: 12.03 kB / 464.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1287, allocations: 38.55 kB / 464.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1288, allocations: 15.81 kB / 464.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1291, allocations: 202.9 kB / 464.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1292, allocations: 8 kB / 464.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1292, allocations: 7.938 kB / 464.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.1294, allocations: 65.59 kB / 464.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1295, allocations: 3.984 kB / 464.7 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.1295, allocations: 7.953 kB / 464.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1295, allocations: 0 / 464.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1297, allocations: 27.92 kB / 464.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1302, allocations: 316.7 kB / 465 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1305, allocations: 74.61 kB / 465.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.816e-05/0.1306, allocations: 28.84 kB / 465.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1306, allocations: 0 / 465.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.1309, allocations: 79.31 kB / 465.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.1309, allocations: 8 kB / 465.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008681/0.1318, allocations: 217.1 kB / 465.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1319, allocations: 51.41 kB / 465.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.1322, allocations: 246.2 kB / 465.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1323, allocations: 25.7 kB / 465.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1324, allocations: 116.1 kB / 465.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.1324, allocations: 27.56 kB / 465.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.1325, allocations: 0 / 465.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1326, allocations: 338.8 kB / 466.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1328, allocations: 35.97 kB / 466.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1329, allocations: 45.7 kB / 466.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1331, allocations: 77.19 kB / 466.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1331, allocations: 0 / 466.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004569/0.1336, allocations: 183.1 kB / 466.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.1337, allocations: 33.7 kB / 466.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1337, allocations: 12.02 kB / 466.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1337, allocations: 0 / 466.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.1339, allocations: 16 kB / 466.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1339, allocations: 0 / 466.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.134, allocations: 4 kB / 466.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.134, allocations: 7.984 kB / 466.6 MB, free: 13.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001823/0.1342, allocations: 137.8 kB / 466.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1343, allocations: 15.86 kB / 466.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1344, allocations: 21.41 kB / 466.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1344, allocations: 4 kB / 466.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1344, allocations: 0 / 466.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1344, allocations: 4.172 kB / 466.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007561/0.1352, allocations: 431.1 kB / 467.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1352, allocations: 3.938 kB / 467.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.1353, allocations: 12 kB / 467.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1353, allocations: 0 / 467.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.1353, allocations: 4.031 kB / 467.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1354, allocations: 7.984 kB / 467.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1354, allocations: 0 / 467.3 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.1358, allocations: 224.1 kB / 467.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.1359, allocations: 93 kB / 467.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1359, allocations: 4 kB / 467.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1361, allocations: 11.98 kB / 467.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1361, allocations: 8 kB / 467.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1361, allocations: 0 / 467.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.1364, allocations: 184.4 kB / 467.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1364, allocations: 0 / 467.8 MB, free: 12.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.1368, allocations: 28 kB / 467.8 MB, free: 12.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001851/0.1387, allocations: 1.091 MB / 468.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.1391, allocations: 151.4 kB / 469 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1391, allocations: 3.938 kB / 469 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1393, allocations: 31.98 kB / 469.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1398, allocations: 24.45 kB / 469.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1419, allocations: 0.9042 MB / 470 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1423, allocations: 0.7198 MB / 470.7 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.1425, allocations: 20.41 kB / 470.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1426, allocations: 47.61 kB / 470.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1426, allocations: 0 / 470.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.1726, allocations: 3.287 MB / 474.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/0.173, allocations: 250.3 kB / 474.3 MB, free: 5.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/2.785, allocations: 3.938 kB / 474.3 MB, free: 5.582 MB / 314.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],t_new.y[2],time