Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test10",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.01417/0.01418, 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.759/1.759, 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.002516/0.002516, allocations: 114 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.4355/0.4355, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004845, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002817/0.1102, allocations: 1.452 MB / 413.2 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1115, allocations: 455.4 kB / 413.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-05/0.1116, allocations: 7.875 kB / 413.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1119, allocations: 23.91 kB / 413.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.1121, allocations: 35.84 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1124, allocations: 67.8 kB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1126, allocations: 91.75 kB / 413.8 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1128, allocations: 33.3 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.1129, allocations: 31.86 kB / 413.9 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.113, allocations: 31.84 kB / 413.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.113, allocations: 4 kB / 413.9 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1132, allocations: 35.98 kB / 414 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1132, allocations: 19.92 kB / 414 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.1133, allocations: 49.56 kB / 414 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1136, allocations: 96.08 kB / 414.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1136, allocations: 0 / 414.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1136, allocations: 0 / 414.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1136, allocations: 0 / 414.1 MB, free: 2.254 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007952/0.1144, allocations: 474.1 kB / 414.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1145, allocations: 12.03 kB / 414.6 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.765e-05/0.1145, allocations: 34.56 kB / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.1146, allocations: 19.89 kB / 414.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1149, allocations: 194.8 kB / 414.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1149, allocations: 8 kB / 414.9 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.115, allocations: 4 kB / 414.9 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1152, allocations: 73.66 kB / 414.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1153, allocations: 3.938 kB / 414.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1153, allocations: 0 / 414.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1153, allocations: 4 kB / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1155, allocations: 43.97 kB / 415 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.1162, allocations: 336.6 kB / 415.3 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.1166, allocations: 74.61 kB / 415.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1167, allocations: 32.84 kB / 415.4 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1167, allocations: 3.984 kB / 415.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.117, allocations: 71.39 kB / 415.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.117, allocations: 4 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000462/0.1175, allocations: 113.5 kB / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.1176, allocations: 59.36 kB / 415.7 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1178, allocations: 166.1 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1178, allocations: 25.7 kB / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.1179, allocations: 108 kB / 416 MB, free: 204 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.118, allocations: 23.7 kB / 416 MB, free: 180 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.118, allocations: 4 kB / 416 MB, free: 176 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1182, allocations: 318.8 kB / 416.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1183, allocations: 31.98 kB / 416.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1185, allocations: 37.7 kB / 416.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1187, allocations: 65.69 kB / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1187, allocations: 0 / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003986/0.1191, allocations: 147.4 kB / 416.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.1191, allocations: 41.69 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1192, allocations: 3.984 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1192, allocations: 0 / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1193, allocations: 20.12 kB / 416.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1194, allocations: 11.97 kB / 416.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.1195, allocations: 15.78 kB / 416.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.1195, allocations: 4 kB / 416.7 MB, free: 15.45 MB / 330.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: 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 (10): * Single equations (assignments): 9 * 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.0001392/0.1196, allocations: 122.9 kB / 416.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.1197, allocations: 7.906 kB / 416.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.1198, allocations: 16.7 kB / 416.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1198, allocations: 0 / 416.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1198, allocations: 4 kB / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1198, allocations: 7.953 kB / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.12, allocations: 197.6 kB / 417 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1201, allocations: 0 / 417 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1202, allocations: 11.98 kB / 417 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1202, allocations: 0 / 417 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1202, allocations: 4 kB / 417 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1202, allocations: 3.938 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1203, allocations: 0 / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.1207, allocations: 157.2 kB / 417.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.885e-05/0.1208, allocations: 81.02 kB / 417.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1209, allocations: 8.016 kB / 417.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.121, allocations: 8 kB / 417.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.121, allocations: 7.984 kB / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1211, allocations: 0 / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1212, allocations: 127.3 kB / 417.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1212, allocations: 0 / 417.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00033/0.1216, allocations: 27.94 kB / 417.4 MB, free: 14.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (7): * Single equations (assignments): 6 * 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.001799/0.1234, allocations: 0.9116 MB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.1238, allocations: 135.3 kB / 418.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1238, allocations: 0 / 418.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.1239, allocations: 27.98 kB / 418.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1244, allocations: 27.97 kB / 418.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1261, allocations: 0.7181 MB / 419.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1264, allocations: 0.7043 MB / 420 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.1266, allocations: 16.42 kB / 420 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.1267, allocations: 35.42 kB / 420 MB, free: 11.93 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1267, allocations: 192 / 420 MB, free: 11.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.153, allocations: 2.815 MB / 422.8 MB, free: 9.133 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003775/0.1534, allocations: 247.7 kB / 423.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/2.653, allocations: 4 kB / 423.1 MB, free: 8.812 MB / 330.7 MB