Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test46",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.009731/0.009735, allocations: 176.3 kB / 15.13 MB, free: 5.949 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.035/2.035, allocations: 194.5 MB / 210.3 MB, free: 8.574 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.001733/0.001733, allocations: 108.1 kB / 255.6 MB, free: 11.19 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.2759/0.2759, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 19.33 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 54.88 MB / 461.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002685/0.104, allocations: 1.369 MB / 462.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.106, allocations: 0.715 MB / 463.2 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.1061, allocations: 4 kB / 463.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1065, allocations: 47.86 kB / 463.3 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1067, allocations: 39.83 kB / 463.3 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.107, allocations: 59.88 kB / 463.4 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1073, allocations: 87.69 kB / 463.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1074, allocations: 8 kB / 463.5 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1075, allocations: 35.84 kB / 463.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1077, allocations: 31.84 kB / 463.6 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.1077, allocations: 4 kB / 463.6 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1079, allocations: 35.98 kB / 463.6 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.108, allocations: 31.91 kB / 463.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.108, allocations: 41.64 kB / 463.7 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1083, allocations: 95.8 kB / 463.8 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1083, allocations: 4 kB / 463.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1083, allocations: 0 / 463.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1084, allocations: 0 / 463.8 MB, free: 0.6406 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.0006613/0.109, allocations: 474.2 kB / 464.2 MB, free: 120 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1091, allocations: 8.031 kB / 464.2 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.1092, allocations: 34.5 kB / 464.3 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.1092, allocations: 23.81 kB / 464.3 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.1097, allocations: 210.8 kB / 464.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.1097, allocations: 4 kB / 464.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.1098, allocations: 4 kB / 464.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.11, allocations: 53.67 kB / 464.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1101, allocations: 0 / 464.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.1101, allocations: 3.953 kB / 464.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1101, allocations: 0 / 464.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1103, allocations: 23.92 kB / 464.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.1109, allocations: 312.8 kB / 464.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1113, allocations: 58.67 kB / 464.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1114, allocations: 20.84 kB / 465 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1115, allocations: 4 kB / 465 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.1118, allocations: 79.22 kB / 465 MB, free: 15.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.1118, allocations: 0 / 465 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009681/0.1128, allocations: 189 kB / 465.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.1128, allocations: 51.41 kB / 465.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.1133, allocations: 250.5 kB / 465.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1134, allocations: 29.7 kB / 465.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.1135, allocations: 120 kB / 465.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.1136, allocations: 31.64 kB / 465.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.1136, allocations: 0 / 465.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1138, allocations: 322.8 kB / 466 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.114, allocations: 31.98 kB / 466 MB, free: 14.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.1142, allocations: 45.7 kB / 466.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1144, allocations: 69.31 kB / 466.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1144, allocations: 0 / 466.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005358/0.115, allocations: 167.1 kB / 466.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.115, allocations: 37.7 kB / 466.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1151, allocations: 0 / 466.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1151, allocations: 4 kB / 466.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.1153, allocations: 15.98 kB / 466.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1153, allocations: 3.938 kB / 466.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1155, allocations: 4 kB / 466.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.1155, allocations: 4 kB / 466.4 MB, free: 13.74 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.0002032/0.1157, allocations: 137.9 kB / 466.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.1158, allocations: 19.77 kB / 466.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.1159, allocations: 21.39 kB / 466.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1159, allocations: 0 / 466.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.1159, allocations: 0 / 466.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1159, allocations: 384 / 466.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.1169, allocations: 411.3 kB / 467 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1169, allocations: 4 kB / 467 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.117, allocations: 12.03 kB / 467 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.117, allocations: 0 / 467 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.117, allocations: 0 / 467 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.1171, allocations: 8.016 kB / 467 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1171, allocations: 3.984 kB / 467 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.1176, allocations: 208.1 kB / 467.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1177, allocations: 101 kB / 467.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.1178, allocations: 11.92 kB / 467.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.118, allocations: 8 kB / 467.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.118, allocations: 4 kB / 467.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.1181, allocations: 3.984 kB / 467.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003341/0.1184, allocations: 188.5 kB / 467.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1184, allocations: 0 / 467.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006463/0.1191, allocations: 32 kB / 467.5 MB, free: 12.49 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.002572/0.1217, allocations: 1.062 MB / 468.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.1223, allocations: 151.3 kB / 468.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1223, allocations: 0 / 468.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1225, allocations: 36.11 kB / 468.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.1232, allocations: 23.7 kB / 468.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.1261, allocations: 0.8852 MB / 469.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.1266, allocations: 0.7199 MB / 470.4 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.1267, allocations: 20.41 kB / 470.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1268, allocations: 39.42 kB / 470.5 MB, free: 9.523 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1269, allocations: 0 / 470.5 MB, free: 9.523 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05328/0.1802, allocations: 3.212 MB / 473.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003868/0.1806, allocations: 248.8 kB / 473.9 MB, free: 6.02 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/2.774, allocations: 4 kB / 473.9 MB, free: 6.016 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.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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time