Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test17",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.009865/0.009865, allocations: 176.2 kB / 15.13 MB, free: 5.953 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.165/2.165, 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.001739/0.001739, allocations: 124 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.2588/0.2588, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 13.22 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002656/0.1104, allocations: 1.369 MB / 462.5 MB, free: 1.797 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1123, allocations: 0.7072 MB / 463.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1124, allocations: 4 kB / 463.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1127, allocations: 35.89 kB / 463.3 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.113, allocations: 31.84 kB / 463.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1133, allocations: 55.88 kB / 463.4 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1135, allocations: 83.7 kB / 463.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1136, allocations: 11.98 kB / 463.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1137, allocations: 35.83 kB / 463.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.1138, allocations: 27.86 kB / 463.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1139, allocations: 8 kB / 463.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.114, allocations: 39.97 kB / 463.6 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1141, allocations: 15.92 kB / 463.6 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.1142, allocations: 33.7 kB / 463.6 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1144, allocations: 83.83 kB / 463.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1144, allocations: 3.938 kB / 463.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1144, allocations: 3.938 kB / 463.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1145, allocations: 0 / 463.7 MB, free: 0.6094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006131/0.1151, allocations: 442.4 kB / 464.1 MB, free: 120 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1151, allocations: 12.03 kB / 464.1 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.1152, allocations: 38.56 kB / 464.2 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.1153, allocations: 7.906 kB / 464.2 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.1156, allocations: 195.4 kB / 464.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.1157, allocations: 12 kB / 464.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1157, allocations: 4 kB / 464.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.116, allocations: 53.67 kB / 464.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.116, allocations: 3.938 kB / 464.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.116, allocations: 3.953 kB / 464.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1161, allocations: 0 / 464.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1162, allocations: 23.98 kB / 464.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.1168, allocations: 292.8 kB / 464.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1171, allocations: 54.67 kB / 464.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1173, allocations: 24.8 kB / 464.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1173, allocations: 7.938 kB / 464.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.1176, allocations: 71.34 kB / 464.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.356e-06/0.1176, allocations: 0 / 464.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009713/0.1186, allocations: 173.2 kB / 465.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1187, allocations: 55.41 kB / 465.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.119, allocations: 176.5 kB / 465.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.119, allocations: 29.7 kB / 465.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.1192, allocations: 100.1 kB / 465.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.1192, allocations: 27.64 kB / 465.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.1192, allocations: 0 / 465.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1194, allocations: 322.8 kB / 465.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1196, allocations: 31.98 kB / 465.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1198, allocations: 41.7 kB / 465.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.12, allocations: 69.45 kB / 465.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.12, allocations: 3.938 kB / 465.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005155/0.1206, allocations: 159.2 kB / 466.1 MB, free: 13.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.1206, allocations: 33.7 kB / 466.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1207, allocations: 0 / 466.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1207, allocations: 0 / 466.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.1209, allocations: 23.92 kB / 466.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.1209, allocations: 0 / 466.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.121, allocations: 8 kB / 466.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1211, allocations: 4 kB / 466.2 MB, free: 13.89 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 (11): * Single equations (assignments): 10 * 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.0001778/0.1213, allocations: 129.4 kB / 466.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.1213, allocations: 15.95 kB / 466.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.1214, allocations: 12.66 kB / 466.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1214, allocations: 4 kB / 466.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1214, allocations: 0 / 466.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1215, allocations: 0 / 466.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.1223, allocations: 407.6 kB / 466.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1223, allocations: 0 / 466.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.1224, allocations: 12 kB / 466.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.1224, allocations: 7.969 kB / 466.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1225, allocations: 7.938 kB / 466.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1225, allocations: 7.938 kB / 466.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1225, allocations: 0 / 466.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.123, allocations: 200.3 kB / 466.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1231, allocations: 93 kB / 467 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1232, allocations: 4 kB / 467 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1233, allocations: 4 kB / 467 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.1234, allocations: 7.984 kB / 467 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.1234, allocations: 4 kB / 467 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001878/0.1236, allocations: 124.1 kB / 467.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1237, allocations: 0 / 467.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.1242, allocations: 31.98 kB / 467.2 MB, free: 12.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002507/0.1268, allocations: 1.064 MB / 468.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.1273, allocations: 151.3 kB / 468.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1273, allocations: 4.062 kB / 468.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1275, allocations: 31.88 kB / 468.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.1281, allocations: 23.97 kB / 468.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1303, allocations: 0.6902 MB / 469.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1308, allocations: 0.7004 MB / 469.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1309, allocations: 20.55 kB / 469.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1311, allocations: 31.42 kB / 469.9 MB, free: 10 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1311, allocations: 0 / 469.9 MB, free: 10 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.1646, allocations: 2.835 MB / 472.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002912/0.1649, allocations: 248.8 kB / 473 MB, free: 6.875 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/2.795, allocations: 112 / 473 MB, free: 6.875 MB / 314.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),der(t_new.timeScaled),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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time