Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test3",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.009328/0.009335, allocations: 164 kB / 15.12 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.699/1.699, 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.001762/0.001762, allocations: 122.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.4372/0.4372, allocations: 38.06 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006617/0.0006619, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1036, allocations: 48.73 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002441/0.1061, allocations: 1.295 MB / 413 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1072, allocations: 419.5 kB / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.1073, allocations: 0 / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.1076, allocations: 27.86 kB / 413.4 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1078, allocations: 27.84 kB / 413.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.108, allocations: 59.86 kB / 413.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1082, allocations: 59.78 kB / 413.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.1083, allocations: 15.98 kB / 413.6 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1084, allocations: 27.84 kB / 413.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.303e-05/0.1085, allocations: 23.91 kB / 413.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1085, allocations: 4 kB / 413.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1087, allocations: 32 kB / 413.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.1087, allocations: 23.91 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.1088, allocations: 29.7 kB / 413.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.109, allocations: 80.06 kB / 413.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.109, allocations: 0 / 413.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.109, allocations: 4 kB / 413.8 MB, free: 2.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1091, allocations: 0 / 413.8 MB, free: 2.551 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.0005626/0.1096, allocations: 400.7 kB / 414.2 MB, free: 2.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1097, allocations: 12.03 kB / 414.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1097, allocations: 34.55 kB / 414.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1098, allocations: 7.906 kB / 414.3 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.11, allocations: 190.9 kB / 414.5 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1101, allocations: 8 kB / 414.5 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1101, allocations: 4 kB / 414.5 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1103, allocations: 41.69 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1103, allocations: 0 / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1103, allocations: 0 / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1103, allocations: 4 kB / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.576e-05/0.1104, allocations: 15.92 kB / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.1108, allocations: 280.8 kB / 414.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1111, allocations: 38.58 kB / 414.8 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.1111, allocations: 20.92 kB / 414.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1112, allocations: 0 / 414.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.1113, allocations: 63.34 kB / 414.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.1114, allocations: 3.938 kB / 414.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004568/0.1118, allocations: 113.3 kB / 415 MB, free: 1.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1119, allocations: 51.41 kB / 415.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1121, allocations: 150 kB / 415.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.1121, allocations: 29.7 kB / 415.3 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.1122, allocations: 96.12 kB / 415.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.1122, allocations: 11.75 kB / 415.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.1122, allocations: 0 / 415.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1124, allocations: 322.8 kB / 415.7 MB, free: 472 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.1124, allocations: 16 kB / 415.7 MB, free: 456 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.1125, allocations: 23.92 kB / 415.7 MB, free: 432 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.031e-05/0.1126, allocations: 49.7 kB / 415.8 MB, free: 376 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1126, allocations: 4 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00027/0.1129, allocations: 119.2 kB / 415.9 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.113, allocations: 37.12 kB / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.113, allocations: 0 / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.113, allocations: 0 / 415.9 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.1131, allocations: 8 kB / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1131, allocations: 0 / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.1132, allocations: 7.953 kB / 415.9 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1132, allocations: 8 kB / 416 MB, free: 176 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.0001271/0.1134, allocations: 126.8 kB / 416.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1134, allocations: 7.906 kB / 416.1 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.1135, allocations: 8.312 kB / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1135, allocations: 0 / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1135, allocations: 0 / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1135, allocations: 0 / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.114, allocations: 342.5 kB / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.114, allocations: 0 / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.1141, allocations: 4 kB / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1141, allocations: 8 kB / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1141, allocations: 0 / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1141, allocations: 0 / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1141, allocations: 7.891 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1144, allocations: 167.4 kB / 416.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1144, allocations: 81.02 kB / 416.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1145, allocations: 7.938 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.1146, allocations: 288 / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1146, allocations: 19.92 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.1147, allocations: 7.953 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.1148, allocations: 107.3 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1148, allocations: 0 / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.1152, allocations: 31.98 kB / 416.9 MB, free: 15.16 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.001391/0.1166, allocations: 0.946 MB / 417.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1169, allocations: 103.4 kB / 417.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1169, allocations: 0 / 417.9 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.117, allocations: 19.94 kB / 417.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.1174, allocations: 15.98 kB / 417.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1186, allocations: 0.5702 MB / 418.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.119, allocations: 0.6926 MB / 419.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.119, allocations: 20.12 kB / 419.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.1191, allocations: 19.44 kB / 419.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1191, allocations: 0 / 419.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.1461, allocations: 2.441 MB / 421.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000381/0.1465, allocations: 242.5 kB / 421.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/2.685, allocations: 8 kB / 421.9 MB, free: 10 MB / 330.7 MB