Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test38",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: 161.7 kB / 15.11 MB, free: 5.965 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.688/1.688, 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.001736/0.001736, 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.5135/0.5135, allocations: 38.06 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004538, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1363, allocations: 48.72 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003648/0.14, allocations: 1.263 MB / 413 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1417, allocations: 399.5 kB / 413.4 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1419, allocations: 0 / 413.4 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.1424, allocations: 55.86 kB / 413.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1427, allocations: 35.89 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1432, allocations: 55.81 kB / 413.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.1434, allocations: 75.75 kB / 413.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.238e-05/0.1435, allocations: 7.984 kB / 413.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1437, allocations: 23.92 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1438, allocations: 35.89 kB / 413.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1439, allocations: 0 / 413.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1441, allocations: 31.92 kB / 413.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.1442, allocations: 11.98 kB / 413.7 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.211e-05/0.1443, allocations: 37.64 kB / 413.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1445, allocations: 64.14 kB / 413.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.1446, allocations: 7.938 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1446, allocations: 3.938 kB / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1446, allocations: 0 / 413.8 MB, free: 2.562 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007493/0.1454, allocations: 408.7 kB / 414.2 MB, free: 2.109 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.1455, allocations: 8.031 kB / 414.2 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.1455, allocations: 30.56 kB / 414.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.1456, allocations: 7.906 kB / 414.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.146, allocations: 190.9 kB / 414.4 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.146, allocations: 4 kB / 414.4 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1461, allocations: 8 kB / 414.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1462, allocations: 37.62 kB / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1463, allocations: 0 / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1463, allocations: 0 / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1463, allocations: 0 / 414.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.1464, allocations: 15.98 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1467, allocations: 169.6 kB / 414.7 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1469, allocations: 38.56 kB / 414.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.147, allocations: 8.922 kB / 414.7 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.147, allocations: 3.938 kB / 414.7 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.1473, allocations: 63.39 kB / 414.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 3.657e-06/0.1473, allocations: 0 / 414.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003692/0.1477, allocations: 61.58 kB / 414.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.1478, allocations: 51.41 kB / 414.9 MB, free: 1.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.1481, allocations: 182.2 kB / 415.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.1482, allocations: 29.7 kB / 415.1 MB, free: 1.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.1483, allocations: 104.1 kB / 415.2 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.1484, allocations: 3.906 kB / 415.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.1484, allocations: 0 / 415.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1486, allocations: 326.8 kB / 415.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.1487, allocations: 12 kB / 415.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.1488, allocations: 15.98 kB / 415.6 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.149, allocations: 41.7 kB / 415.6 MB, free: 0.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.149, allocations: 4 kB / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000339/0.1494, allocations: 103.3 kB / 415.7 MB, free: 436 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.1495, allocations: 37.7 kB / 415.7 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1495, allocations: 0 / 415.7 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1495, allocations: 0 / 415.7 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1497, allocations: 7.984 kB / 415.7 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1497, allocations: 0 / 415.7 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1498, allocations: 8.062 kB / 415.8 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1499, allocations: 8 kB / 415.8 MB, free: 368 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 (5): * Single equations (assignments): 4 * 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.0001951/0.1501, allocations: 134.8 kB / 415.9 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1501, allocations: 7.906 kB / 415.9 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.1502, allocations: 4.25 kB / 415.9 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.1503, allocations: 4 kB / 415.9 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1503, allocations: 0 / 415.9 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1503, allocations: 0 / 415.9 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.1506, allocations: 181.6 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1506, allocations: 0 / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.1507, allocations: 0 / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1507, allocations: 0 / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1508, allocations: 8 kB / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1508, allocations: 0 / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1508, allocations: 0 / 416.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1511, allocations: 88.92 kB / 416.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.1512, allocations: 85 kB / 416.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.1512, allocations: 4 kB / 416.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1513, allocations: 0 / 416.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1514, allocations: 0 / 416.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.1514, allocations: 11.94 kB / 416.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.1517, allocations: 131.8 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.1517, allocations: 0 / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.1522, allocations: 23.94 kB / 416.4 MB, free: 15.59 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 (3): * Single equations (assignments): 2 * 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.001935/0.1542, allocations: 0.8305 MB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1546, allocations: 95.33 kB / 417.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1546, allocations: 0 / 417.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.1547, allocations: 15.98 kB / 417.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.1552, allocations: 15.98 kB / 417.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1571, allocations: 0.5708 MB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.1575, allocations: 0.6965 MB / 418.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.1577, allocations: 8.188 kB / 418.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1578, allocations: 31.3 kB / 418.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1578, allocations: 0 / 418.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.183, allocations: 2.286 MB / 421 MB, free: 10.99 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/0.1834, allocations: 254.8 kB / 421.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/2.961, allocations: 64 / 421.2 MB, free: 10.67 MB / 330.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.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