Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test32",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.0098/0.009805, allocations: 176.8 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.053/2.053, allocations: 194.5 MB / 210.3 MB, free: 8.57 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.001806/0.001805, allocations: 120 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.282/0.282, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006329/0.0006332, allocations: 11.91 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09685, allocations: 54.88 MB / 461.2 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001994/0.0989, allocations: 1.365 MB / 462.5 MB, free: 1.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1003, allocations: 0.7228 MB / 463.2 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.626e-05/0.1004, allocations: 0 / 463.2 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1006, allocations: 27.91 kB / 463.3 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1008, allocations: 35.83 kB / 463.3 MB, free: 1.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.101, allocations: 51.88 kB / 463.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1012, allocations: 87.7 kB / 463.4 MB, free: 0.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.1013, allocations: 8 kB / 463.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.1014, allocations: 35.84 kB / 463.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.1015, allocations: 35.84 kB / 463.5 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1015, allocations: 0 / 463.5 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1016, allocations: 35.98 kB / 463.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1017, allocations: 15.92 kB / 463.6 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.1017, allocations: 37.64 kB / 463.6 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1019, allocations: 87.81 kB / 463.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.102, allocations: 0 / 463.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.102, allocations: 0 / 463.7 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.102, allocations: 0 / 463.7 MB, free: 0.6992 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.0004911/0.1025, allocations: 450.3 kB / 464.1 MB, free: 204 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1025, allocations: 12.03 kB / 464.1 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1026, allocations: 34.55 kB / 464.2 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1026, allocations: 15.91 kB / 464.2 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1029, allocations: 202.7 kB / 464.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1029, allocations: 0 / 464.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.103, allocations: 4 kB / 464.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1032, allocations: 61.55 kB / 464.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1032, allocations: 0 / 464.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.1033, allocations: 11.94 kB / 464.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1033, allocations: 4 kB / 464.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.1034, allocations: 19.98 kB / 464.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1039, allocations: 288.9 kB / 464.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.1041, allocations: 62.61 kB / 464.8 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.1042, allocations: 24.84 kB / 464.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1043, allocations: 0 / 464.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.1045, allocations: 75.28 kB / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.1045, allocations: 0 / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.000753/0.1053, allocations: 173.2 kB / 465.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1054, allocations: 55.41 kB / 465.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1056, allocations: 182.1 kB / 465.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.1057, allocations: 33.69 kB / 465.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.1058, allocations: 104 kB / 465.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.812e-05/0.1059, allocations: 27.69 kB / 465.5 MB, free: 14.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.1059, allocations: 4 kB / 465.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1061, allocations: 322.8 kB / 465.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1062, allocations: 31.98 kB / 465.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1063, allocations: 49.16 kB / 465.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1065, allocations: 69.33 kB / 466 MB, free: 14.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1065, allocations: 0 / 466 MB, free: 14.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004104/0.1069, allocations: 167.2 kB / 466.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.107, allocations: 33.7 kB / 466.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.107, allocations: 0 / 466.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1071, allocations: 4 kB / 466.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1072, allocations: 15.98 kB / 466.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1072, allocations: 0 / 466.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.1073, allocations: 8 kB / 466.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.1074, allocations: 8.031 kB / 466.2 MB, free: 13.94 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.000141/0.1075, allocations: 129.8 kB / 466.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1075, allocations: 11.86 kB / 466.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.16e-05/0.1076, allocations: 12.72 kB / 466.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1076, allocations: 0 / 466.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1076, allocations: 0 / 466.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1077, allocations: 12.3 kB / 466.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.1083, allocations: 391.3 kB / 466.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1084, allocations: 4 kB / 466.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.1084, allocations: 15.92 kB / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1084, allocations: 4.094 kB / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1085, allocations: 7.938 kB / 466.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1085, allocations: 4.016 kB / 466.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1085, allocations: 7.984 kB / 466.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.1089, allocations: 204.3 kB / 467 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.109, allocations: 89 kB / 467.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.109, allocations: 4 kB / 467.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1091, allocations: 7.984 kB / 467.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1092, allocations: 7.938 kB / 467.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.1092, allocations: 4 kB / 467.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.1094, allocations: 135.2 kB / 467.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1094, allocations: 0 / 467.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003694/0.1098, allocations: 28 kB / 467.3 MB, free: 12.77 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.002047/0.1119, allocations: 1.058 MB / 468.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.1124, allocations: 159.3 kB / 468.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1124, allocations: 0 / 468.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1125, allocations: 31.92 kB / 468.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.113, allocations: 23.92 kB / 468.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1148, allocations: 0.7162 MB / 469.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1152, allocations: 0.7119 MB / 469.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.1153, allocations: 12.42 kB / 470 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.1154, allocations: 23.44 kB / 470 MB, free: 10.01 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1154, allocations: 0 / 470 MB, free: 10.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.1438, allocations: 2.897 MB / 472.9 MB, free: 7.141 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003834/0.1443, allocations: 244.8 kB / 473.1 MB, free: 6.828 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/2.721, allocations: 4 kB / 473.1 MB, free: 6.824 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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time