Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test16",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.009877/0.009881, allocations: 163.8 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.75/1.75, 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.001728/0.001728, allocations: 106.8 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.4991/0.4991, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006477/0.0006479, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1334, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002426/0.1359, allocations: 1.295 MB / 413 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.137, allocations: 419.5 kB / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.1371, allocations: 0 / 413.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.1374, allocations: 31.89 kB / 413.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.1376, allocations: 35.84 kB / 413.5 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1378, allocations: 55.88 kB / 413.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.138, allocations: 63.77 kB / 413.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.1381, allocations: 7.984 kB / 413.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.1381, allocations: 23.92 kB / 413.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.1382, allocations: 27.84 kB / 413.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1383, allocations: 7.938 kB / 413.7 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1384, allocations: 35.98 kB / 413.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.1385, allocations: 19.92 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.1385, allocations: 33.7 kB / 413.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1387, allocations: 80.11 kB / 413.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1387, allocations: 3.938 kB / 413.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1388, allocations: 3.938 kB / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1388, allocations: 0 / 413.8 MB, free: 2.539 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.0005524/0.1393, allocations: 408.7 kB / 414.2 MB, free: 2.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1394, allocations: 8.031 kB / 414.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.1394, allocations: 34.56 kB / 414.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1395, allocations: 11.91 kB / 414.3 MB, free: 2.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1397, allocations: 188.8 kB / 414.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1398, allocations: 4 kB / 414.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1398, allocations: 0 / 414.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.14, allocations: 53.66 kB / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.14, allocations: 0 / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.14, allocations: 0 / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.14, allocations: 4 kB / 414.5 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.791e-05/0.1401, allocations: 7.938 kB / 414.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.1405, allocations: 296.8 kB / 414.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1408, allocations: 38.56 kB / 414.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.1408, allocations: 8.859 kB / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1408, allocations: 4 kB / 414.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.1411, allocations: 63.42 kB / 414.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.008e-06/0.1411, allocations: 4 kB / 414.9 MB, free: 1.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000459/0.1416, allocations: 113.3 kB / 415.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.1416, allocations: 51.41 kB / 415.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1418, allocations: 165.5 kB / 415.3 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1419, allocations: 25.7 kB / 415.3 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.162e-05/0.142, allocations: 92.14 kB / 415.4 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.142, allocations: 19.73 kB / 415.4 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.142, allocations: 4 kB / 415.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1422, allocations: 322.8 kB / 415.7 MB, free: 432 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.1422, allocations: 16 kB / 415.7 MB, free: 416 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.1423, allocations: 19.98 kB / 415.8 MB, free: 396 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.348e-05/0.1424, allocations: 49.73 kB / 415.8 MB, free: 340 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1424, allocations: 0 / 415.8 MB, free: 340 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002544/0.1427, allocations: 123.2 kB / 415.9 MB, free: 204 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.1428, allocations: 33.7 kB / 416 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1428, allocations: 3.984 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1428, allocations: 0 / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.1429, allocations: 8 kB / 416 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1429, allocations: 7.953 kB / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.389e-05/0.143, allocations: 4 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.143, allocations: 0 / 416 MB, free: 140 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.0001255/0.1431, allocations: 126.8 kB / 416.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.1432, allocations: 8.078 kB / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.1432, allocations: 12.31 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1433, allocations: 0 / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1433, allocations: 0 / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1433, allocations: 3.781 kB / 416.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.1438, allocations: 334.6 kB / 416.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1438, allocations: 0 / 416.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.1438, allocations: 4 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1439, allocations: 4 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1439, allocations: 7.953 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1439, allocations: 3.938 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1439, allocations: 288 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1441, allocations: 167.5 kB / 416.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.1442, allocations: 92.98 kB / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.1442, allocations: 192 / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.1444, allocations: 11.89 kB / 416.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.1444, allocations: 4 kB / 416.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.1444, allocations: 11.98 kB / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.1446, allocations: 115.2 kB / 416.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1446, allocations: 0 / 416.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003628/0.1449, allocations: 24 kB / 416.9 MB, free: 15.12 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.001372/0.1463, allocations: 0.9562 MB / 417.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1466, allocations: 103.4 kB / 418 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1466, allocations: 4 kB / 418 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.1467, allocations: 19.92 kB / 418 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1471, allocations: 11.95 kB / 418 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.1484, allocations: 0.5934 MB / 418.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1488, allocations: 0.6965 MB / 419.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.1488, allocations: 8 kB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.1489, allocations: 23.42 kB / 419.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1489, allocations: 0 / 419.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1703, allocations: 2.505 MB / 421.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003349/0.1707, allocations: 247.6 kB / 422.1 MB, free: 9.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/2.793, allocations: 0 / 422.1 MB, free: 9.84 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