Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test35",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.009174/0.009179, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.743/1.743, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001706/0.001706, allocations: 106.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.4323/0.4323, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006985/0.0006989, allocations: 12 kB / 363 MB, free: 5.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1063, allocations: 48.72 MB / 411.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002617/0.109, allocations: 1.298 MB / 413 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1102, allocations: 419.5 kB / 413.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.1103, allocations: 0 / 413.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.1107, allocations: 79.83 kB / 413.5 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.111, allocations: 63.8 kB / 413.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1113, allocations: 55.88 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1115, allocations: 75.75 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1116, allocations: 7.984 kB / 413.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.1117, allocations: 35.89 kB / 413.7 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1118, allocations: 55.75 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1118, allocations: 0 / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.112, allocations: 32 kB / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.1121, allocations: 23.92 kB / 413.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1121, allocations: 37.64 kB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1124, allocations: 92.03 kB / 414 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1124, allocations: 0 / 414 MB, free: 2.379 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.1124, allocations: 4 kB / 414 MB, free: 2.375 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1124, allocations: 0 / 414 MB, free: 2.375 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.0006437/0.1131, allocations: 420.6 kB / 414.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1131, allocations: 8.031 kB / 414.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1132, allocations: 30.56 kB / 414.4 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1132, allocations: 15.91 kB / 414.4 MB, free: 1.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1135, allocations: 204.1 kB / 414.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1135, allocations: 0 / 414.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1136, allocations: 4 kB / 414.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1137, allocations: 49.62 kB / 414.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1138, allocations: 0 / 414.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1138, allocations: 0 / 414.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1138, allocations: 0 / 414.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.506e-05/0.1139, allocations: 11.98 kB / 414.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1143, allocations: 288.8 kB / 415 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1146, allocations: 46.5 kB / 415 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.1146, allocations: 8.859 kB / 415 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1147, allocations: 4 kB / 415 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1148, allocations: 55.48 kB / 415.1 MB, free: 1.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.1149, allocations: 7.938 kB / 415.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004975/0.1154, allocations: 125.2 kB / 415.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1154, allocations: 51.41 kB / 415.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.1157, allocations: 212 kB / 415.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1158, allocations: 25.7 kB / 415.5 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.1159, allocations: 104.1 kB / 415.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1159, allocations: 19.73 kB / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.1159, allocations: 0 / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1161, allocations: 318.8 kB / 415.9 MB, free: 180 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.1161, allocations: 27.98 kB / 416 MB, free: 152 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.623e-05/0.1162, allocations: 15.98 kB / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.1163, allocations: 57.67 kB / 416 MB, free: 72 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1163, allocations: 0 / 416 MB, free: 72 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002979/0.1166, allocations: 119.4 kB / 416.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.1167, allocations: 33.7 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1167, allocations: 0 / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1167, allocations: 3.984 kB / 416.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.1168, allocations: 11.94 kB / 416.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1169, allocations: 160 / 416.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.1169, allocations: 15.84 kB / 416.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.117, allocations: 11.98 kB / 416.2 MB, free: 15.86 MB / 330.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.0001367/0.1171, allocations: 122.9 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1172, allocations: 11.91 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.1172, allocations: 13 kB / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.1172, allocations: 3.984 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1173, allocations: 0 / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1173, allocations: 0 / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1178, allocations: 350.5 kB / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1178, allocations: 0 / 416.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.1179, allocations: 11.98 kB / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1179, allocations: 0 / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1179, allocations: 0 / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1179, allocations: 0 / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1179, allocations: 3.953 kB / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1181, allocations: 163.5 kB / 416.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1182, allocations: 92.92 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1183, allocations: 7.922 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.1184, allocations: 4 kB / 417 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1184, allocations: 7.953 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.1185, allocations: 7.938 kB / 417 MB, free: 14.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.1187, allocations: 155.9 kB / 417.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1187, allocations: 0 / 417.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.1191, allocations: 27.98 kB / 417.2 MB, free: 14.8 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.001466/0.1206, allocations: 0.953 MB / 418.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1209, allocations: 103.3 kB / 418.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1209, allocations: 0 / 418.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.09e-05/0.121, allocations: 20 kB / 418.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1214, allocations: 15.98 kB / 418.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1231, allocations: 0.6965 MB / 419 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1235, allocations: 0.7043 MB / 419.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.586e-05/0.1235, allocations: 7.984 kB / 419.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.1236, allocations: 31.42 kB / 419.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1237, allocations: 0 / 419.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.1528, allocations: 2.715 MB / 422.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003671/0.1532, allocations: 247.6 kB / 422.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/2.702, allocations: 4 kB / 422.7 MB, free: 9.191 MB / 330.7 MB