Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test21.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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test21",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.009747/0.009747, allocations: 177.4 kB / 15.13 MB, free: 5.965 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.012/2.012, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.001777/0.001777, allocations: 120.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.2998/0.2998, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004926, allocations: 11.34 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09735, allocations: 54.87 MB / 461.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.002292/0.0997, allocations: 1.523 MB / 462.7 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1013, allocations: 0.7289 MB / 463.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1015, allocations: 4 kB / 463.4 MB, free: 1.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.1019, allocations: 243.5 kB / 463.6 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.1023, allocations: 143.7 kB / 463.8 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1027, allocations: 131.6 kB / 463.9 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.103, allocations: 215.5 kB / 464.1 MB, free: 328 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1032, allocations: 44.06 kB / 464.2 MB, free: 284 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1033, allocations: 107.6 kB / 464.3 MB, free: 176 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1035, allocations: 151.5 kB / 464.4 MB, free: 24 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.1036, allocations: 4 kB / 464.4 MB, free: 20 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.1039, allocations: 75.98 kB / 464.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.104, allocations: 59.75 kB / 464.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.1041, allocations: 61.52 kB / 464.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.1045, allocations: 211.6 kB / 464.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1045, allocations: 0 / 464.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1045, allocations: 4 kB / 464.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1045, allocations: 0 / 464.8 MB, free: 15.61 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009399/0.1055, allocations: 0.6665 MB / 465.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1055, allocations: 8.031 kB / 465.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.1056, allocations: 46.55 kB / 465.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1057, allocations: 43.42 kB / 465.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1061, allocations: 255.1 kB / 465.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1062, allocations: 8 kB / 465.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.1062, allocations: 16 kB / 465.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1066, allocations: 113.5 kB / 466 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1066, allocations: 3.984 kB / 466 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.1066, allocations: 8 kB / 466 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.1066, allocations: 3.953 kB / 466 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.1069, allocations: 75.95 kB / 466.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.1078, allocations: 472.2 kB / 466.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1081, allocations: 106.4 kB / 466.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.1082, allocations: 40.84 kB / 466.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.1083, allocations: 3.984 kB / 466.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1083, allocations: 38.56 kB / 466.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 2.405e-06/0.1084, allocations: 0 / 466.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001429/0.1098, allocations: 388.4 kB / 467.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.1099, allocations: 55.36 kB / 467.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.1106, allocations: 485.5 kB / 467.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1106, allocations: 29.7 kB / 467.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.1108, allocations: 180.4 kB / 467.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.1109, allocations: 55.27 kB / 467.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.1109, allocations: 0 / 467.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1111, allocations: 346.8 kB / 468.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1113, allocations: 60.34 kB / 468.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.1116, allocations: 68.72 kB / 468.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.1119, allocations: 213.7 kB / 468.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1119, allocations: 0 / 468.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007262/0.1127, allocations: 359 kB / 468.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1128, allocations: 138.4 kB / 469 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1128, allocations: 0 / 469 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1128, allocations: 4 kB / 469 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1131, allocations: 43.97 kB / 469.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1132, allocations: 3.953 kB / 469.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1133, allocations: 19.78 kB / 469.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.1133, allocations: 8 kB / 469.1 MB, free: 10.97 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0002242/0.1136, allocations: 165.8 kB / 469.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.1136, allocations: 27.62 kB / 469.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.1144, allocations: 248.9 kB / 469.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1145, allocations: 0 / 469.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.1145, allocations: 3.984 kB / 469.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1145, allocations: 7.891 kB / 469.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.1157, allocations: 0.6099 MB / 470.2 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1157, allocations: 0 / 470.2 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.116, allocations: 35.98 kB / 470.2 MB, free: 9.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.116, allocations: 7.938 kB / 470.2 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.116, allocations: 8 kB / 470.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.116, allocations: 0 / 470.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.116, allocations: 0 / 470.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.1167, allocations: 307 kB / 470.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.1168, allocations: 104.7 kB / 470.6 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1168, allocations: 7.953 kB / 470.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.117, allocations: 4 kB / 470.6 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.117, allocations: 15.98 kB / 470.6 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1171, allocations: 8 kB / 470.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005332/0.1176, allocations: 359.1 kB / 471 MB, free: 8.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1176, allocations: 0 / 471 MB, free: 8.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.1181, allocations: 63.98 kB / 471.1 MB, free: 8.91 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003023/0.1212, allocations: 1.485 MB / 472.6 MB, free: 7.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.122, allocations: 428.9 kB / 473 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.122, allocations: 0 / 473 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.1223, allocations: 83.91 kB / 473.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.1229, allocations: 45.61 kB / 473.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.1267, allocations: 1.726 MB / 474.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.1272, allocations: 0.7829 MB / 475.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.1274, allocations: 37.41 kB / 475.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1276, allocations: 99.39 kB / 475.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1277, allocations: 0 / 475.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.1589, allocations: 5.65 MB / 481.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003853/0.1594, allocations: 253.2 kB / 481.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/2.889, allocations: 0 / 481.6 MB, free: 14.23 MB / 330.7 MB