Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test71",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.009662/0.009666, allocations: 164.3 kB / 15.12 MB, free: 6.027 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.818/1.818, 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.001752/0.001752, allocations: 105.9 kB / 226.2 MB, free: 10.11 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.4561/0.4561, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004973, allocations: 16 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1065, allocations: 48.72 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002558/0.1091, allocations: 1.345 MB / 413.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1109, allocations: 0.6901 MB / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.111, allocations: 0 / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000663/0.1117, allocations: 295.5 kB / 414 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.1122, allocations: 171.6 kB / 414.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.1127, allocations: 99.7 kB / 414.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.113, allocations: 167.5 kB / 414.5 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.1131, allocations: 17.11 kB / 414.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1133, allocations: 91.7 kB / 414.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1136, allocations: 155.6 kB / 414.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.1136, allocations: 4 kB / 414.7 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.1139, allocations: 59.98 kB / 414.8 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1141, allocations: 131.6 kB / 414.9 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1142, allocations: 73.52 kB / 415 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.1147, allocations: 287.7 kB / 415.3 MB, free: 1.125 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1147, allocations: 4 kB / 415.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1148, allocations: 0 / 415.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1148, allocations: 0 / 415.3 MB, free: 1.121 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.001206/0.116, allocations: 0.7228 MB / 416 MB, free: 344 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1161, allocations: 8.031 kB / 416 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.1161, allocations: 34.56 kB / 416 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1162, allocations: 51.42 kB / 416.1 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/0.1171, allocations: 391.3 kB / 416.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.1171, allocations: 4 kB / 416.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1171, allocations: 4 kB / 416.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1173, allocations: 63.39 kB / 416.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1173, allocations: 0 / 416.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1174, allocations: 7.984 kB / 416.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1174, allocations: 0 / 416.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.567e-05/0.1175, allocations: 19.92 kB / 416.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.1181, allocations: 374.2 kB / 416.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1182, allocations: 65.14 kB / 417 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.1183, allocations: 13.78 kB / 417 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1184, allocations: 3.984 kB / 417 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.1186, allocations: 89.09 kB / 417.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.1186, allocations: 4 kB / 417.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004481/0.1191, allocations: 137 kB / 417.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1191, allocations: 77.11 kB / 417.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.1208, allocations: 1.003 MB / 418.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.1209, allocations: 37.64 kB / 418.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.1211, allocations: 236 kB / 418.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.1212, allocations: 15.75 kB / 418.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.1212, allocations: 11.88 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.1214, allocations: 374.7 kB / 419 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1216, allocations: 23.98 kB / 419 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1217, allocations: 41.7 kB / 419 MB, free: 13.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.1219, allocations: 87.39 kB / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1219, allocations: 0 / 419.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004773/0.1224, allocations: 212.4 kB / 419.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.1224, allocations: 67.39 kB / 419.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.1225, allocations: 0 / 419.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1225, allocations: 4 kB / 419.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1226, allocations: 12.12 kB / 419.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1227, allocations: 4 kB / 419.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1228, allocations: 15.84 kB / 419.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.1229, allocations: 11.98 kB / 419.4 MB, free: 12.62 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.0003297/0.1232, allocations: 218.8 kB / 419.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.1233, allocations: 47.38 kB / 419.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1234, allocations: 55.66 kB / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1234, allocations: 0 / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1235, allocations: 4 kB / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1235, allocations: 0 / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.1239, allocations: 321.4 kB / 420.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1239, allocations: 0 / 420.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.124, allocations: 7.984 kB / 420.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.124, allocations: 0 / 420.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.124, allocations: 4 kB / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.124, allocations: 0 / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.124, allocations: 0 / 420.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.1243, allocations: 153.4 kB / 420.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.1246, allocations: 144.4 kB / 420.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.1246, allocations: 4 kB / 420.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1248, allocations: 4 kB / 420.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.1248, allocations: 7.984 kB / 420.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1249, allocations: 0 / 420.4 MB, free: 11.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001232/0.1261, allocations: 0.7487 MB / 421.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1261, allocations: 0 / 421.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.1266, allocations: 59.98 kB / 421.2 MB, free: 10.76 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.001829/0.1284, allocations: 1.068 MB / 422.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003379/0.1288, allocations: 182.7 kB / 422.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1288, allocations: 0 / 422.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.1289, allocations: 27.91 kB / 422.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.1294, allocations: 46.28 kB / 422.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.1353, allocations: 2.748 MB / 425.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.1359, allocations: 0.8429 MB / 426.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1361, allocations: 50.53 kB / 426.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.1363, allocations: 119.4 kB / 426.3 MB, free: 5.602 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1364, allocations: 0 / 426.3 MB, free: 5.602 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2871/0.4235, allocations: 7.667 MB / 433.9 MB, free: 46.39 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/0.4238, allocations: 243.3 kB / 434.2 MB, free: 46.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.03, allocations: 0 / 434.2 MB, free: 46.08 MB / 330.7 MB