Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test62",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.0142/0.0142, allocations: 176.3 kB / 15.13 MB, free: 5.949 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.161/2.161, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001998/0.001998, allocations: 116 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.2634/0.2634, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006782/0.0006784, allocations: 19.06 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1296, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001983/0.1316, allocations: 1.334 MB / 462.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.133, allocations: 0.7111 MB / 463.2 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.1331, allocations: 0 / 463.2 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1335, allocations: 39.89 kB / 463.2 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1337, allocations: 47.81 kB / 463.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1339, allocations: 47.89 kB / 463.3 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.134, allocations: 83.75 kB / 463.4 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.1341, allocations: 7.859 kB / 463.4 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.1342, allocations: 39.78 kB / 463.5 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.1343, allocations: 23.92 kB / 463.5 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.1344, allocations: 7.984 kB / 463.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.917e-05/0.1345, allocations: 31.92 kB / 463.5 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.1345, allocations: 19.92 kB / 463.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.1346, allocations: 53.62 kB / 463.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1348, allocations: 79.88 kB / 463.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1348, allocations: 0 / 463.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1348, allocations: 0 / 463.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1348, allocations: 0 / 463.7 MB, free: 0.625 MB / 298.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.0005462/0.1354, allocations: 462.1 kB / 464.1 MB, free: 116 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1354, allocations: 16.02 kB / 464.1 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.1355, allocations: 34.56 kB / 464.2 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1355, allocations: 11.81 kB / 464.2 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1358, allocations: 198.9 kB / 464.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.1359, allocations: 11.92 kB / 464.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1359, allocations: 4 kB / 464.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1361, allocations: 49.62 kB / 464.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1362, allocations: 4 kB / 464.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.1362, allocations: 7.938 kB / 464.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1362, allocations: 4 kB / 464.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1363, allocations: 12 kB / 464.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.1366, allocations: 205.6 kB / 464.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1369, allocations: 50.62 kB / 464.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.137, allocations: 20.84 kB / 464.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1371, allocations: 0 / 464.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.1373, allocations: 67.33 kB / 464.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.1374, allocations: 8 kB / 464.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004986/0.1379, allocations: 101.4 kB / 464.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1379, allocations: 51.41 kB / 465 MB, free: 15.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.1383, allocations: 254.5 kB / 465.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1384, allocations: 25.7 kB / 465.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1385, allocations: 116 kB / 465.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1385, allocations: 15.83 kB / 465.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-06/0.1386, allocations: 7.938 kB / 465.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1387, allocations: 330.8 kB / 465.7 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1389, allocations: 19.98 kB / 465.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.139, allocations: 41.7 kB / 465.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1391, allocations: 53.7 kB / 465.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1392, allocations: 0 / 465.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003794/0.1396, allocations: 135.1 kB / 465.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.1396, allocations: 41.69 kB / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1397, allocations: 4.031 kB / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1397, allocations: 4 kB / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1398, allocations: 11.98 kB / 466 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1398, allocations: 3.953 kB / 466 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.954e-05/0.14, allocations: 15.78 kB / 466 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.14, allocations: 4 kB / 466 MB, free: 14 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 (8): * Single equations (assignments): 7 * 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.0001883/0.1402, allocations: 141.8 kB / 466.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1402, allocations: 11.91 kB / 466.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.1403, allocations: 13 kB / 466.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1403, allocations: 8 kB / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1403, allocations: 0 / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1404, allocations: 3.953 kB / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1406, allocations: 189.6 kB / 466.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1406, allocations: 0 / 466.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.1407, allocations: 4 kB / 466.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1407, allocations: 0 / 466.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1407, allocations: 0 / 466.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1408, allocations: 0 / 466.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1408, allocations: 320 / 466.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.1411, allocations: 128.8 kB / 466.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.1412, allocations: 96.91 kB / 466.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.1413, allocations: 0 / 466.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.1414, allocations: 7.984 kB / 466.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1414, allocations: 4 kB / 466.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.1415, allocations: 3.938 kB / 466.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002884/0.1418, allocations: 188.5 kB / 466.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1418, allocations: 4 kB / 466.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.1421, allocations: 31.98 kB / 466.8 MB, free: 13.09 MB / 314.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001751/0.1439, allocations: 0.924 MB / 467.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000419/0.1444, allocations: 135.3 kB / 467.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1444, allocations: 0 / 467.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.1445, allocations: 16 kB / 467.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1449, allocations: 24.11 kB / 467.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1468, allocations: 0.8383 MB / 468.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1472, allocations: 0.716 MB / 469.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.637e-05/0.1474, allocations: 12.64 kB / 469.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/0.1475, allocations: 27.44 kB / 469.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1475, allocations: 0 / 469.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1711, allocations: 2.9 MB / 472.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/0.1715, allocations: 248.8 kB / 472.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/2.647, allocations: 7.875 kB / 472.7 MB, free: 7.184 MB / 314.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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_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[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time