Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test49",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.01213/0.01213, allocations: 162.9 kB / 15.12 MB, free: 6.027 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.787/1.788, 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.001843/0.001843, allocations: 106 kB / 226.2 MB, free: 10.1 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.4693/0.4693, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006209/0.0006217, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1124, allocations: 48.72 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002442/0.1149, allocations: 1.287 MB / 413 MB, free: 3.398 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.116, allocations: 423.5 kB / 413.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.1161, allocations: 3.938 kB / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1164, allocations: 47.92 kB / 413.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1167, allocations: 39.83 kB / 413.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1169, allocations: 55.81 kB / 413.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1171, allocations: 67.81 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1173, allocations: 11.98 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.1174, allocations: 31.86 kB / 413.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.1175, allocations: 27.89 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1175, allocations: 4 kB / 413.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1176, allocations: 32 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1177, allocations: 27.91 kB / 413.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.1178, allocations: 41.64 kB / 413.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.118, allocations: 92.03 kB / 413.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.118, allocations: 3.938 kB / 413.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.067e-06/0.1181, allocations: 4 kB / 413.9 MB, free: 2.492 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1181, allocations: 4 kB / 413.9 MB, free: 2.488 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.0006273/0.1187, allocations: 432.5 kB / 414.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.033e-05/0.1188, allocations: 11.97 kB / 414.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.1189, allocations: 30.56 kB / 414.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1189, allocations: 11.81 kB / 414.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1192, allocations: 210.8 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1192, allocations: 0 / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1193, allocations: 4 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.1194, allocations: 45.69 kB / 414.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1194, allocations: 0 / 414.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1194, allocations: 0 / 414.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1195, allocations: 0 / 414.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.1195, allocations: 19.92 kB / 414.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.12, allocations: 284.9 kB / 414.9 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1202, allocations: 38.56 kB / 415 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.1203, allocations: 16.86 kB / 415 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1203, allocations: 4 kB / 415 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.1205, allocations: 63.33 kB / 415.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.218e-06/0.1205, allocations: 0 / 415.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.121, allocations: 125.4 kB / 415.2 MB, free: 1.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1211, allocations: 55.34 kB / 415.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.1214, allocations: 251.5 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1215, allocations: 29.7 kB / 415.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.1216, allocations: 108.1 kB / 415.6 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1216, allocations: 15.81 kB / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.1216, allocations: 0 / 415.6 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1217, allocations: 326.8 kB / 415.9 MB, free: 216 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.1218, allocations: 15.98 kB / 416 MB, free: 200 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.1219, allocations: 23.98 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.926e-05/0.122, allocations: 45.7 kB / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.122, allocations: 96 / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002708/0.1223, allocations: 135.1 kB / 416.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.1223, allocations: 33.7 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1224, allocations: 0 / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1224, allocations: 0 / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.1225, allocations: 15.98 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1225, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.1226, allocations: 7.953 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.1226, allocations: 4.062 kB / 416.2 MB, free: 15.91 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.000159/0.1228, allocations: 130.9 kB / 416.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.1228, allocations: 11.91 kB / 416.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.1229, allocations: 17 kB / 416.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1229, allocations: 3.984 kB / 416.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1229, allocations: 0 / 416.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1229, allocations: 3.938 kB / 416.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1234, allocations: 354.5 kB / 416.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1234, allocations: 0 / 416.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.1235, allocations: 4 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1235, allocations: 0 / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1235, allocations: 8 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1235, allocations: 0 / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1235, allocations: 3.953 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1238, allocations: 171.3 kB / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.1238, allocations: 92.91 kB / 417 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1239, allocations: 0 / 417 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.124, allocations: 7.938 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.124, allocations: 8 kB / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.1241, allocations: 11.94 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.1243, allocations: 185.1 kB / 417.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1243, allocations: 0 / 417.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.1247, allocations: 31.94 kB / 417.2 MB, free: 14.79 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.001391/0.1261, allocations: 0.9526 MB / 418.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1264, allocations: 107.4 kB / 418.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1264, allocations: 0 / 418.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.1265, allocations: 23.92 kB / 418.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.1269, allocations: 16.17 kB / 418.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1286, allocations: 0.7909 MB / 419.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.129, allocations: 0.7158 MB / 419.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.164e-05/0.129, allocations: 8 kB / 419.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.1291, allocations: 31.42 kB / 419.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1291, allocations: 0 / 419.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1556, allocations: 2.875 MB / 422.8 MB, free: 9.23 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004058/0.156, allocations: 247.6 kB / 423 MB, free: 8.914 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/2.852, allocations: 0 / 423 MB, free: 8.914 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.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.verboseRead,t_new.y[1],time