Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test41",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.01019/0.0102, allocations: 165.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.843/1.843, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001735/0.001734, allocations: 102.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.4918/0.4918, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006893/0.0006894, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.132, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002421/0.1345, allocations: 1.298 MB / 413 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1356, allocations: 423.4 kB / 413.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.1357, allocations: 4 kB / 413.4 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.1361, allocations: 79.81 kB / 413.5 MB, free: 2.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1363, allocations: 51.88 kB / 413.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1365, allocations: 59.81 kB / 413.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1367, allocations: 71.75 kB / 413.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.1368, allocations: 7.984 kB / 413.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.1369, allocations: 39.89 kB / 413.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.137, allocations: 43.83 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1371, allocations: 4 kB / 413.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1372, allocations: 35.98 kB / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.1373, allocations: 15.91 kB / 413.8 MB, free: 2.547 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.1373, allocations: 37.64 kB / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1375, allocations: 88.06 kB / 413.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1376, allocations: 0 / 413.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1376, allocations: 0 / 413.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1376, allocations: 0 / 413.9 MB, free: 2.418 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.0005857/0.1382, allocations: 416.7 kB / 414.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1382, allocations: 12.03 kB / 414.4 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1383, allocations: 34.56 kB / 414.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1383, allocations: 15.81 kB / 414.4 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1386, allocations: 198.9 kB / 414.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1386, allocations: 0 / 414.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1387, allocations: 4 kB / 414.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1388, allocations: 45.62 kB / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1389, allocations: 3.906 kB / 414.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1389, allocations: 0 / 414.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1389, allocations: 0 / 414.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.139, allocations: 19.98 kB / 414.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.1394, allocations: 280.9 kB / 415 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1396, allocations: 34.58 kB / 415 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.1397, allocations: 16.88 kB / 415 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1397, allocations: 4 kB / 415 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.1399, allocations: 63.34 kB / 415.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.1399, allocations: 0 / 415.1 MB, free: 1.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004616/0.1404, allocations: 117.2 kB / 415.2 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1405, allocations: 55.41 kB / 415.2 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.1407, allocations: 203.3 kB / 415.4 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1408, allocations: 29.7 kB / 415.5 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.1409, allocations: 96.12 kB / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1409, allocations: 19.8 kB / 415.6 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.1409, allocations: 4 kB / 415.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1411, allocations: 326.8 kB / 415.9 MB, free: 236 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.1412, allocations: 16 kB / 415.9 MB, free: 220 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.1412, allocations: 19.98 kB / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.1413, allocations: 49.7 kB / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1413, allocations: 0 / 416 MB, free: 144 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002463/0.1416, allocations: 119.2 kB / 416.1 MB, free: 12 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.1417, allocations: 33.69 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1417, allocations: 0 / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1417, allocations: 4 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.1418, allocations: 8 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1418, allocations: 4 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.1419, allocations: 7.953 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1419, allocations: 4 kB / 416.2 MB, free: 15.95 MB / 330.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.0001304/0.1421, allocations: 131 kB / 416.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1421, allocations: 7.906 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.1422, allocations: 20.34 kB / 416.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.1422, allocations: 4 kB / 416.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1422, allocations: 4 kB / 416.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1422, allocations: 0 / 416.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.1427, allocations: 342.8 kB / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1427, allocations: 0 / 416.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.1428, allocations: 11.92 kB / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1428, allocations: 0 / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1428, allocations: 4 kB / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-06/0.1428, allocations: 0 / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1428, allocations: 7.938 kB / 416.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1431, allocations: 171.5 kB / 416.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.1432, allocations: 96.88 kB / 416.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1432, allocations: 0 / 416.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.1433, allocations: 0 / 416.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1433, allocations: 8 kB / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.1434, allocations: 7.953 kB / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1436, allocations: 143.2 kB / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1436, allocations: 0 / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.1439, allocations: 35.98 kB / 417.1 MB, free: 14.87 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.001433/0.1454, allocations: 0.9451 MB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.1456, allocations: 103.4 kB / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1457, allocations: 4 kB / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.561e-05/0.1457, allocations: 19.94 kB / 418.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1462, allocations: 19.98 kB / 418.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.1476, allocations: 0.6638 MB / 418.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.148, allocations: 0.7082 MB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1481, allocations: 4 kB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.1482, allocations: 31.42 kB / 419.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1482, allocations: 3.938 kB / 419.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.176, allocations: 2.664 MB / 422.3 MB, free: 9.66 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003833/0.1764, allocations: 247.6 kB / 422.5 MB, free: 9.344 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/2.759, allocations: 0 / 422.5 MB, free: 9.344 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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time