Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test13",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.01584/0.01584, allocations: 161.9 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.753/1.753, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001769/0.001769, allocations: 114.8 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.4362/0.4362, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 48.7 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002915/0.1106, allocations: 1.452 MB / 413.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1119, allocations: 451.4 kB / 413.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.112, allocations: 11.88 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1123, allocations: 27.89 kB / 413.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1126, allocations: 31.86 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1129, allocations: 63.8 kB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1131, allocations: 99.67 kB / 413.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1133, allocations: 25.38 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.783e-05/0.1134, allocations: 35.86 kB / 413.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.523e-05/0.1135, allocations: 35.83 kB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1135, allocations: 0 / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1137, allocations: 39.94 kB / 414 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.1138, allocations: 15.92 kB / 414 MB, free: 2.398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.1138, allocations: 41.64 kB / 414 MB, free: 2.352 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.1141, allocations: 100.1 kB / 414.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1141, allocations: 0 / 414.1 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1141, allocations: 4 kB / 414.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1141, allocations: 0 / 414.1 MB, free: 2.25 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.0007379/0.1149, allocations: 474.1 kB / 414.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1149, allocations: 12.03 kB / 414.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.115, allocations: 30.56 kB / 414.6 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.1151, allocations: 7.906 kB / 414.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1154, allocations: 210.8 kB / 414.8 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1154, allocations: 4 kB / 414.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1154, allocations: 8 kB / 414.8 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.1157, allocations: 73.59 kB / 414.9 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1157, allocations: 4 kB / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1158, allocations: 0 / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1158, allocations: 0 / 414.9 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.116, allocations: 47.95 kB / 415 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1167, allocations: 340.6 kB / 415.3 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.117, allocations: 74.61 kB / 415.4 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.1172, allocations: 32.84 kB / 415.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1172, allocations: 4 kB / 415.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.1175, allocations: 75.38 kB / 415.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.1175, allocations: 4 kB / 415.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004678/0.118, allocations: 113.5 kB / 415.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.118, allocations: 55.36 kB / 415.7 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1183, allocations: 162.1 kB / 415.8 MB, free: 344 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.1183, allocations: 29.7 kB / 415.8 MB, free: 308 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.1184, allocations: 108 kB / 415.9 MB, free: 196 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.1185, allocations: 27.7 kB / 416 MB, free: 168 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.1185, allocations: 8 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1187, allocations: 318.8 kB / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1188, allocations: 27.98 kB / 416.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1189, allocations: 41.7 kB / 416.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.1191, allocations: 73.67 kB / 416.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1191, allocations: 0 / 416.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003795/0.1195, allocations: 143.3 kB / 416.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.1196, allocations: 37.69 kB / 416.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1196, allocations: 0 / 416.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1196, allocations: 192 / 416.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.1198, allocations: 19.94 kB / 416.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1198, allocations: 7.891 kB / 416.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/0.1199, allocations: 23.86 kB / 416.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1199, allocations: 4 kB / 416.7 MB, free: 15.43 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.0001355/0.1201, allocations: 118.9 kB / 416.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1201, allocations: 7.906 kB / 416.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.1202, allocations: 16.7 kB / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1202, allocations: 0 / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1202, allocations: 0 / 416.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.1202, allocations: 7.953 kB / 416.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1205, allocations: 193.6 kB / 417 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1205, allocations: 4 kB / 417 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1206, allocations: 11.94 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1206, allocations: 0 / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.1207, allocations: 7.984 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1207, allocations: 4 kB / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1207, allocations: 0 / 417 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.1212, allocations: 160.9 kB / 417.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.1213, allocations: 81.02 kB / 417.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.1213, allocations: 7.984 kB / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.1214, allocations: 4 kB / 417.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.1215, allocations: 11.98 kB / 417.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1215, allocations: 0 / 417.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.1217, allocations: 115.3 kB / 417.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1217, allocations: 4 kB / 417.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.122, allocations: 31.94 kB / 417.4 MB, free: 14.57 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.001567/0.1236, allocations: 0.9058 MB / 418.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.124, allocations: 127.3 kB / 418.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.124, allocations: 0 / 418.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1242, allocations: 31.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.000369/0.1245, allocations: 19.98 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.001649/0.1262, allocations: 0.722 MB / 419.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1266, allocations: 0.7082 MB / 419.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.049e-05/0.1267, allocations: 20.55 kB / 420 MB, free: 11.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.1268, allocations: 31.61 kB / 420 MB, free: 11.92 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1268, allocations: 0 / 420 MB, free: 11.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.1498, allocations: 2.825 MB / 422.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003616/0.1503, allocations: 243.6 kB / 423.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/2.697, allocations: 3.938 kB / 423.1 MB, free: 8.805 MB / 330.7 MB