Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test50",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.01021/0.01022, allocations: 162 kB / 15.12 MB, free: 6.027 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.764/1.764, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001768/0.001767, allocations: 113.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.4519/0.4519, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004709, allocations: 12 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 48.71 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002419/0.1057, allocations: 1.302 MB / 413 MB, free: 3.352 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.1078, allocations: 0.9999 MB / 414 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.108, allocations: 0 / 414 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1083, allocations: 23.91 kB / 414 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1085, allocations: 31.91 kB / 414.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1088, allocations: 63.8 kB / 414.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.109, allocations: 71.77 kB / 414.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1091, allocations: 15.97 kB / 414.2 MB, free: 2.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.1092, allocations: 23.92 kB / 414.2 MB, free: 2.117 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1095, allocations: 35.83 kB / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1095, allocations: 4 kB / 414.3 MB, free: 2.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.1098, allocations: 59.92 kB / 414.3 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.1098, allocations: 19.91 kB / 414.4 MB, free: 2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.1099, allocations: 29.7 kB / 414.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1102, allocations: 104 kB / 414.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1103, allocations: 0 / 414.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1103, allocations: 0 / 414.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1103, allocations: 4 kB / 414.5 MB, free: 1.859 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006538/0.1109, allocations: 412.8 kB / 414.9 MB, free: 1.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.111, allocations: 11.97 kB / 414.9 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.1111, allocations: 30.56 kB / 414.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1111, allocations: 11.84 kB / 415 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1114, allocations: 198.9 kB / 415.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1114, allocations: 0 / 415.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.1115, allocations: 4 kB / 415.1 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1117, allocations: 67.39 kB / 415.2 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1117, allocations: 0 / 415.2 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1117, allocations: 4 kB / 415.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1117, allocations: 0 / 415.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.1118, allocations: 23.92 kB / 415.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.1124, allocations: 288.8 kB / 415.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1125, allocations: 46.56 kB / 415.6 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.1126, allocations: 24.92 kB / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.1127, allocations: 0 / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.1129, allocations: 63.33 kB / 415.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/0.1129, allocations: 0 / 415.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005829/0.1135, allocations: 133.7 kB / 415.8 MB, free: 380 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.1136, allocations: 77.11 kB / 415.9 MB, free: 284 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1138, allocations: 150 kB / 416 MB, free: 124 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.1138, allocations: 25.7 kB / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.1139, allocations: 100 kB / 416.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.114, allocations: 19.73 kB / 416.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.114, allocations: 4 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1141, allocations: 318.8 kB / 416.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1142, allocations: 23.98 kB / 416.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-05/0.1143, allocations: 37.7 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1145, allocations: 61.77 kB / 416.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1145, allocations: 0 / 416.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003129/0.1148, allocations: 135.2 kB / 416.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.1149, allocations: 37.45 kB / 416.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1149, allocations: 0 / 416.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.1149, allocations: 4 kB / 416.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1151, allocations: 16.05 kB / 416.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1151, allocations: 0 / 416.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.1152, allocations: 11.89 kB / 416.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.1152, allocations: 8 kB / 416.8 MB, free: 15.29 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 (8): * Single equations (assignments): 7 * 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.1154, allocations: 118.8 kB / 416.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1154, allocations: 11.89 kB / 416.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.1155, allocations: 12.72 kB / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1155, allocations: 0 / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1155, allocations: 4 kB / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1155, allocations: 0 / 416.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.1161, allocations: 354.5 kB / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1161, allocations: 4 kB / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.1162, allocations: 7.938 kB / 417.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1162, allocations: 0 / 417.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1162, allocations: 4 kB / 417.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1162, allocations: 0 / 417.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1162, allocations: 3.953 kB / 417.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1165, allocations: 179.4 kB / 417.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.1165, allocations: 81.02 kB / 417.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.1166, allocations: 4 kB / 417.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1167, allocations: 4 kB / 417.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1168, allocations: 7.984 kB / 417.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.1168, allocations: 11.95 kB / 417.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.1169, allocations: 107.2 kB / 417.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.1169, allocations: 0 / 417.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004019/0.1174, allocations: 36 kB / 417.7 MB, free: 14.26 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 (6): * Single equations (assignments): 5 * 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.001724/0.1191, allocations: 1.048 MB / 418.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1195, allocations: 111.4 kB / 418.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1195, allocations: 3.938 kB / 418.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.1196, allocations: 27.92 kB / 418.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.12, allocations: 19.92 kB / 418.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.1214, allocations: 0.5931 MB / 419.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1218, allocations: 0.6965 MB / 420.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.1219, allocations: 16.77 kB / 420.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.122, allocations: 31.36 kB / 420.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1221, allocations: 4 kB / 420.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.1535, allocations: 2.945 MB / 423.2 MB, free: 8.715 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003642/0.1539, allocations: 252.2 kB / 423.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/2.811, allocations: 3.938 kB / 423.5 MB, free: 8.379 MB / 330.7 MB