Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test68",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.009758/0.009763, allocations: 161.5 kB / 15.11 MB, free: 6.035 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.726/1.726, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001816/0.001816, allocations: 114.7 kB / 226.2 MB, free: 10.07 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.5138/0.5138, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006605/0.0006607, allocations: 12 kB / 363 MB, free: 5.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1092, allocations: 48.71 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002634/0.1119, allocations: 1.349 MB / 413.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1137, allocations: 0.6862 MB / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.1138, allocations: 0 / 413.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.1145, allocations: 283.4 kB / 414 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.1149, allocations: 159.6 kB / 414.2 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.1154, allocations: 115.7 kB / 414.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.1157, allocations: 159.5 kB / 414.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.1158, allocations: 17.09 kB / 414.5 MB, free: 1.895 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.116, allocations: 95.7 kB / 414.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1163, allocations: 143.6 kB / 414.7 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1163, allocations: 4 kB / 414.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1166, allocations: 63.97 kB / 414.8 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.1168, allocations: 127.6 kB / 414.9 MB, free: 1.469 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1169, allocations: 69.52 kB / 415 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.1174, allocations: 295.7 kB / 415.3 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1174, allocations: 0 / 415.3 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.29e-06/0.1175, allocations: 4 kB / 415.3 MB, free: 1.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1175, allocations: 0 / 415.3 MB, free: 1.102 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.00123/0.1187, allocations: 0.6957 MB / 416 MB, free: 352 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1188, allocations: 12.03 kB / 416 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.1188, allocations: 34.55 kB / 416 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.1189, allocations: 43.44 kB / 416 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/0.1198, allocations: 399.2 kB / 416.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1198, allocations: 4 kB / 416.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1199, allocations: 4 kB / 416.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.12, allocations: 63.39 kB / 416.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1201, allocations: 11.92 kB / 416.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1201, allocations: 0 / 416.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1201, allocations: 0 / 416.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.117e-05/0.1202, allocations: 12 kB / 416.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.1208, allocations: 370.2 kB / 416.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1209, allocations: 57.14 kB / 416.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.121, allocations: 29.77 kB / 417 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.121, allocations: 0 / 417 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1213, allocations: 85.09 kB / 417.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.977e-06/0.1213, allocations: 0 / 417.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004545/0.1218, allocations: 137 kB / 417.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.1219, allocations: 89.05 kB / 417.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.1236, allocations: 0.9752 MB / 418.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1236, allocations: 29.7 kB / 418.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.1239, allocations: 224.1 kB / 418.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.124, allocations: 15.8 kB / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.124, allocations: 4 kB / 418.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1242, allocations: 370.7 kB / 418.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.1243, allocations: 24 kB / 418.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1244, allocations: 49.69 kB / 418.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1246, allocations: 91.39 kB / 419 MB, free: 13.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1246, allocations: 0 / 419 MB, free: 13.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004662/0.1251, allocations: 208.6 kB / 419.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.1252, allocations: 67.39 kB / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1252, allocations: 4 kB / 419.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1252, allocations: 0 / 419.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1254, allocations: 15.98 kB / 419.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1254, allocations: 0 / 419.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1256, allocations: 12.31 kB / 419.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1256, allocations: 4 kB / 419.3 MB, free: 12.69 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.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): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.000362/0.126, allocations: 222.7 kB / 419.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.1261, allocations: 47.42 kB / 419.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1262, allocations: 55.48 kB / 419.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1262, allocations: 4 kB / 419.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1262, allocations: 0 / 419.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1262, allocations: 0 / 419.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.1266, allocations: 317.4 kB / 420 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1267, allocations: 4 kB / 420 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.1267, allocations: 7.984 kB / 420 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1267, allocations: 0 / 420 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1268, allocations: 8 kB / 420 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1268, allocations: 0 / 420 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1268, allocations: 0 / 420 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.1271, allocations: 149.3 kB / 420.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.1273, allocations: 136.7 kB / 420.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.1274, allocations: 11.94 kB / 420.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1276, allocations: 4 kB / 420.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.1276, allocations: 3.984 kB / 420.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.1277, allocations: 4 kB / 420.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.1289, allocations: 0.7331 MB / 421 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1289, allocations: 0 / 421 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004379/0.1294, allocations: 59.84 kB / 421.1 MB, free: 10.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001962/0.1313, allocations: 1.058 MB / 422.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.1318, allocations: 182.8 kB / 422.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1318, allocations: 4 kB / 422.3 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.1319, allocations: 19.94 kB / 422.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.1325, allocations: 46.53 kB / 422.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/0.1385, allocations: 2.676 MB / 425.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.1391, allocations: 0.8312 MB / 425.9 MB, free: 5.945 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1394, allocations: 54.27 kB / 426 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.1396, allocations: 127.3 kB / 426.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1396, allocations: 0 / 426.1 MB, free: 5.766 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2908/0.4305, allocations: 7.512 MB / 433.6 MB, free: 46.48 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.4308, allocations: 249.6 kB / 433.8 MB, free: 46.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.045, allocations: 0 / 433.8 MB, free: 46.17 MB / 330.7 MB