Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test28",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.01378/0.01378, allocations: 177.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.225/2.225, 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.00177/0.00177, allocations: 116.1 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.2864/0.2864, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004769, allocations: 16.92 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.0988, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.001899/0.1008, allocations: 1.353 MB / 462.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1021, allocations: 0.7189 MB / 463.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.488e-05/0.1022, allocations: 4 kB / 463.2 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1025, allocations: 23.91 kB / 463.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1027, allocations: 35.83 kB / 463.3 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1029, allocations: 51.89 kB / 463.4 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.103, allocations: 87.69 kB / 463.4 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1031, allocations: 15.98 kB / 463.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.1032, allocations: 35.86 kB / 463.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.1033, allocations: 31.83 kB / 463.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1034, allocations: 4 kB / 463.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1035, allocations: 32 kB / 463.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.1035, allocations: 15.92 kB / 463.6 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.1036, allocations: 37.64 kB / 463.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1037, allocations: 91.8 kB / 463.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1038, allocations: 0 / 463.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1038, allocations: 0 / 463.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1038, allocations: 4 kB / 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.0004696/0.1043, allocations: 446.3 kB / 464.1 MB, free: 116 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1043, allocations: 12.03 kB / 464.1 MB, free: 104 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.1044, allocations: 34.56 kB / 464.2 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1044, allocations: 7.906 kB / 464.2 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1047, allocations: 202.7 kB / 464.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1047, allocations: 4 kB / 464.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1048, allocations: 7.984 kB / 464.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.105, allocations: 61.61 kB / 464.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.105, allocations: 0 / 464.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.105, allocations: 3.953 kB / 464.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1051, allocations: 4 kB / 464.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1052, allocations: 19.98 kB / 464.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1057, allocations: 296.8 kB / 464.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1059, allocations: 62.62 kB / 464.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.269e-05/0.106, allocations: 28.78 kB / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1061, allocations: 0 / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.1063, allocations: 67.34 kB / 464.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.1063, allocations: 0 / 464.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007546/0.1071, allocations: 177.2 kB / 465.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1071, allocations: 55.41 kB / 465.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1074, allocations: 186.1 kB / 465.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1074, allocations: 29.7 kB / 465.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.1075, allocations: 104 kB / 465.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1076, allocations: 19.72 kB / 465.5 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.1076, allocations: 8 kB / 465.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1078, allocations: 322.8 kB / 465.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1079, allocations: 23.98 kB / 465.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.108, allocations: 57.64 kB / 465.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1082, allocations: 69 kB / 466 MB, free: 14.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1082, allocations: 0 / 466 MB, free: 14.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003946/0.1086, allocations: 163.2 kB / 466.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.1087, allocations: 37.69 kB / 466.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1087, allocations: 3.938 kB / 466.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1087, allocations: 0 / 466.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1089, allocations: 20.03 kB / 466.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1089, allocations: 0 / 466.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.109, allocations: 11.98 kB / 466.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1091, allocations: 4 kB / 466.2 MB, free: 13.85 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.0001381/0.1092, allocations: 120.5 kB / 466.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1093, allocations: 15.86 kB / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.1093, allocations: 17.08 kB / 466.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1093, allocations: 0 / 466.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1094, allocations: 0 / 466.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1094, allocations: 4 kB / 466.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006776/0.1101, allocations: 403.2 kB / 466.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1101, allocations: 3.938 kB / 466.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.1101, allocations: 11.94 kB / 466.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1102, allocations: 0 / 466.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1102, allocations: 4 kB / 466.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1102, allocations: 0 / 466.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1102, allocations: 0 / 466.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1106, allocations: 216.4 kB / 467 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.1107, allocations: 97 kB / 467.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.1107, allocations: 4 kB / 467.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1108, allocations: 4.094 kB / 467.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1109, allocations: 11.92 kB / 467.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1109, allocations: 0 / 467.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1111, allocations: 143.2 kB / 467.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1111, allocations: 0 / 467.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.1115, allocations: 31.98 kB / 467.3 MB, free: 12.68 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.00184/0.1133, allocations: 1.061 MB / 468.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.1137, allocations: 155.3 kB / 468.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1138, allocations: 0 / 468.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1139, allocations: 23.94 kB / 468.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.1143, allocations: 23.98 kB / 468.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1161, allocations: 0.7201 MB / 469.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1165, allocations: 0.7041 MB / 469.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.254e-05/0.1166, allocations: 12.42 kB / 470 MB, free: 9.957 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.1167, allocations: 31.42 kB / 470 MB, free: 9.926 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1167, allocations: 0 / 470 MB, free: 9.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.1402, allocations: 2.893 MB / 472.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003957/0.1407, allocations: 241 kB / 473.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/2.79, allocations: 11.94 kB / 473.1 MB, free: 6.742 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