Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test40",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.009593/0.009592, allocations: 163.8 kB / 15.12 MB, free: 5.957 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.775/1.775, 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.004583/0.004583, allocations: 109.9 kB / 226.2 MB, free: 10.09 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.5038/0.5038, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005023, allocations: 16 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 48.72 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002493/0.1071, allocations: 1.294 MB / 413 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1082, allocations: 419.5 kB / 413.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.1083, allocations: 0 / 413.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.1087, allocations: 83.83 kB / 413.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.109, allocations: 51.81 kB / 413.6 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1094, allocations: 59.86 kB / 413.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1095, allocations: 71.77 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.1097, allocations: 7.984 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.994e-05/0.1098, allocations: 35.89 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1099, allocations: 43.81 kB / 413.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1099, allocations: 7.938 kB / 413.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.1101, allocations: 32 kB / 413.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1101, allocations: 19.92 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.1102, allocations: 37.64 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1104, allocations: 84.09 kB / 413.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1104, allocations: 3.938 kB / 413.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1105, allocations: 0 / 413.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1105, allocations: 0 / 413.9 MB, free: 2.438 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.0005937/0.1111, allocations: 416.7 kB / 414.4 MB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1111, allocations: 12.03 kB / 414.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.1112, allocations: 34.56 kB / 414.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1112, allocations: 11.81 kB / 414.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1115, allocations: 194.9 kB / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1115, allocations: 0 / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1116, allocations: 7.984 kB / 414.6 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1117, allocations: 49.61 kB / 414.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1117, allocations: 3.906 kB / 414.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1118, allocations: 0 / 414.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1118, allocations: 0 / 414.7 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.1119, allocations: 15.98 kB / 414.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1123, allocations: 280.9 kB / 415 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1125, allocations: 50.5 kB / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.1126, allocations: 8.953 kB / 415 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1126, allocations: 3.984 kB / 415 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.1128, allocations: 55.41 kB / 415.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.819e-06/0.1128, allocations: 0 / 415.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005276/0.1134, allocations: 125.2 kB / 415.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1134, allocations: 55.39 kB / 415.2 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1137, allocations: 203.3 kB / 415.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1137, allocations: 25.7 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.1138, allocations: 100.1 kB / 415.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1139, allocations: 15.8 kB / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.1139, allocations: 4 kB / 415.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.114, allocations: 322.8 kB / 415.9 MB, free: 260 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/0.1141, allocations: 20 kB / 415.9 MB, free: 240 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.1142, allocations: 15.98 kB / 415.9 MB, free: 224 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.997e-05/0.1143, allocations: 57.67 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1143, allocations: 0 / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002468/0.1146, allocations: 115.3 kB / 416.1 MB, free: 32 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/0.1147, allocations: 33.75 kB / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1147, allocations: 3.938 kB / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1147, allocations: 0 / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.1148, allocations: 12 kB / 416.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1148, allocations: 3.938 kB / 416.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.1149, allocations: 12.02 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1149, allocations: 4 kB / 416.2 MB, free: 15.96 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.0001385/0.1151, allocations: 126.9 kB / 416.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1151, allocations: 7.906 kB / 416.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.1152, allocations: 12.31 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.1152, allocations: 7.984 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1152, allocations: 0 / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1152, allocations: 4 kB / 416.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1157, allocations: 334.5 kB / 416.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1157, allocations: 7.938 kB / 416.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.1158, allocations: 4 kB / 416.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1158, allocations: 288 / 416.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1158, allocations: 7.984 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1158, allocations: 0 / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1159, allocations: 3.953 kB / 416.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1161, allocations: 175.3 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.1162, allocations: 85.02 kB / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.1162, allocations: 0 / 416.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.1163, allocations: 11.92 kB / 416.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1164, allocations: 4 kB / 416.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1164, allocations: 3.953 kB / 417 MB, free: 15.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1166, allocations: 151.2 kB / 417.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1166, allocations: 0 / 417.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.117, allocations: 28 kB / 417.1 MB, free: 14.9 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.001455/0.1184, allocations: 0.9581 MB / 418.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1187, allocations: 111.3 kB / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1187, allocations: 0 / 418.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.1188, allocations: 16 kB / 418.2 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1192, allocations: 19.98 kB / 418.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.1207, allocations: 0.6599 MB / 418.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1212, allocations: 0.7082 MB / 419.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1213, allocations: 8 kB / 419.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.1214, allocations: 23.42 kB / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1214, allocations: 0 / 419.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.1465, allocations: 2.67 MB / 422.3 MB, free: 9.688 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004278/0.147, allocations: 251.7 kB / 422.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/2.788, allocations: 0 / 422.5 MB, free: 9.367 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.verboseRead,t_new.y[1],time