Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test2",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.009401/0.009407, allocations: 160.3 kB / 15.11 MB, free: 5.965 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.686/1.686, allocations: 170.8 MB / 186.7 MB, free: 1.102 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.001714/0.001714, allocations: 114.8 kB / 226.2 MB, free: 10.08 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.4352/0.4352, allocations: 38.05 MB / 303.7 MB, free: 42.61 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007116/0.0007118, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1109, allocations: 48.72 MB / 411.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002409/0.1134, allocations: 1.298 MB / 413 MB, free: 3.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1145, allocations: 415.5 kB / 413.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.1146, allocations: 3.938 kB / 413.4 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.1149, allocations: 31.89 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.115, allocations: 23.91 kB / 413.5 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1153, allocations: 59.81 kB / 413.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1155, allocations: 59.83 kB / 413.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.1156, allocations: 15.98 kB / 413.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.1157, allocations: 23.86 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.294e-05/0.1157, allocations: 23.91 kB / 413.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1158, allocations: 4 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1159, allocations: 39.92 kB / 413.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.116, allocations: 11.98 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.116, allocations: 37.64 kB / 413.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1162, allocations: 76.11 kB / 413.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1163, allocations: 3.938 kB / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1163, allocations: 4 kB / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1163, allocations: 4 kB / 413.8 MB, free: 2.531 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.0005777/0.1169, allocations: 396.8 kB / 414.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1169, allocations: 12.03 kB / 414.2 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.117, allocations: 30.56 kB / 414.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.117, allocations: 7.906 kB / 414.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1173, allocations: 194.4 kB / 414.5 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1173, allocations: 8 kB / 414.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.1174, allocations: 4 kB / 414.5 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1175, allocations: 45.62 kB / 414.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1176, allocations: 0 / 414.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1176, allocations: 4 kB / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1176, allocations: 0 / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.489e-05/0.1177, allocations: 11.98 kB / 414.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.1181, allocations: 276.8 kB / 414.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1183, allocations: 46.5 kB / 414.8 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.1184, allocations: 12.86 kB / 414.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1184, allocations: 0 / 414.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.1186, allocations: 67.47 kB / 414.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.42e-06/0.1187, allocations: 0 / 414.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000478/0.1191, allocations: 113.3 kB / 415 MB, free: 1.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1192, allocations: 51.41 kB / 415.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1194, allocations: 154 kB / 415.2 MB, free: 0.918 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1194, allocations: 29.7 kB / 415.3 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1195, allocations: 88.14 kB / 415.4 MB, free: 0.793 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.1196, allocations: 19.73 kB / 415.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1196, allocations: 0 / 415.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1197, allocations: 318.8 kB / 415.7 MB, free: 464 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.1198, allocations: 23.92 kB / 415.7 MB, free: 440 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.1199, allocations: 16 kB / 415.7 MB, free: 424 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.12, allocations: 57.62 kB / 415.8 MB, free: 360 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.12, allocations: 0 / 415.8 MB, free: 360 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002484/0.1202, allocations: 119.6 kB / 415.9 MB, free: 228 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.1203, allocations: 33.14 kB / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1203, allocations: 0 / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1203, allocations: 0 / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.1204, allocations: 15.92 kB / 415.9 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1204, allocations: 8.141 kB / 415.9 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.1205, allocations: 3.953 kB / 416 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1205, allocations: 7.984 kB / 416 MB, free: 156 kB / 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: 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 (7): * Single equations (assignments): 6 * 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.0001205/0.1207, allocations: 122.9 kB / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1207, allocations: 11.91 kB / 416.1 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.1208, allocations: 8.312 kB / 416.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1208, allocations: 0 / 416.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1208, allocations: 0 / 416.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1208, allocations: 4 kB / 416.1 MB, free: 0 / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.1213, allocations: 330.5 kB / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1213, allocations: 0 / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.1214, allocations: 7.984 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1214, allocations: 8 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1214, allocations: 4 kB / 416.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1214, allocations: 0 / 416.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1215, allocations: 3.953 kB / 416.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1217, allocations: 163.5 kB / 416.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.1218, allocations: 85.02 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1218, allocations: 4.266 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.1219, allocations: 15.88 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.122, allocations: 4 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.122, allocations: 7.953 kB / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1221, allocations: 115.2 kB / 416.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1221, allocations: 0 / 416.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.1225, allocations: 24 kB / 416.9 MB, free: 15.15 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 (5): * Single equations (assignments): 4 * 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.001426/0.1239, allocations: 0.9495 MB / 417.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1242, allocations: 107.3 kB / 417.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1242, allocations: 0 / 417.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.1243, allocations: 16 kB / 417.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1247, allocations: 15.98 kB / 417.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.126, allocations: 0.5663 MB / 418.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1263, allocations: 0.6965 MB / 419.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.757e-05/0.1264, allocations: 12 kB / 419.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.1265, allocations: 23.42 kB / 419.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1265, allocations: 0 / 419.2 MB, free: 12.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1477, allocations: 2.445 MB / 421.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.1479, allocations: 246.5 kB / 421.9 MB, free: 9.988 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.605, allocations: 0 / 421.9 MB, free: 9.988 MB / 330.7 MB