Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test69",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.009478/0.009478, allocations: 164.2 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.762/1.762, 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.001763/0.001763, allocations: 106.5 kB / 226.2 MB, free: 10.1 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.4976/0.4976, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 48.71 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002465/0.1098, allocations: 1.349 MB / 413.1 MB, free: 3.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.1116, allocations: 0.6823 MB / 413.7 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.1117, allocations: 4 kB / 413.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.1123, allocations: 287.4 kB / 414 MB, free: 2.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1127, allocations: 159.6 kB / 414.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1132, allocations: 111.7 kB / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1135, allocations: 155.5 kB / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/0.1136, allocations: 13.05 kB / 414.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1137, allocations: 95.75 kB / 414.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.114, allocations: 147.6 kB / 414.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.1141, allocations: 4 kB / 414.7 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.1143, allocations: 63.98 kB / 414.8 MB, free: 1.613 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1145, allocations: 131.6 kB / 414.9 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1147, allocations: 69.5 kB / 415 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.1152, allocations: 287.7 kB / 415.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1152, allocations: 0 / 415.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1153, allocations: 0 / 415.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.1153, allocations: 0 / 415.2 MB, free: 1.129 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.001212/0.1165, allocations: 0.7034 MB / 415.9 MB, free: 372 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1166, allocations: 12.03 kB / 416 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.1166, allocations: 34.56 kB / 416 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.739e-05/0.1167, allocations: 47.44 kB / 416 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007918/0.1175, allocations: 395.2 kB / 416.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1176, allocations: 4 kB / 416.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1176, allocations: 4 kB / 416.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1178, allocations: 67.33 kB / 416.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1178, allocations: 0 / 416.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1178, allocations: 0 / 416.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1179, allocations: 4 kB / 416.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.469e-05/0.118, allocations: 19.97 kB / 416.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.1185, allocations: 366.3 kB / 416.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1187, allocations: 57.14 kB / 416.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.1187, allocations: 21.78 kB / 417 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1188, allocations: 7.984 kB / 417 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.119, allocations: 85.03 kB / 417 MB, free: 15.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.119, allocations: 4 kB / 417 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004843/0.1195, allocations: 133.1 kB / 417.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.1196, allocations: 85.05 kB / 417.3 MB, free: 14.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.1212, allocations: 0.983 MB / 418.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1213, allocations: 33.7 kB / 418.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.1216, allocations: 220.1 kB / 418.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.1216, allocations: 15.8 kB / 418.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.1217, allocations: 11.88 kB / 418.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1219, allocations: 362.8 kB / 418.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.811e-05/0.122, allocations: 31.98 kB / 418.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1221, allocations: 37.7 kB / 418.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.1223, allocations: 95.39 kB / 419 MB, free: 13.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1223, allocations: 0 / 419 MB, free: 13.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004429/0.1227, allocations: 216.4 kB / 419.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.1228, allocations: 67.39 kB / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1228, allocations: 0 / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1228, allocations: 0 / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.123, allocations: 8.125 kB / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.123, allocations: 4 kB / 419.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.1232, allocations: 15.92 kB / 419.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1232, allocations: 8 kB / 419.3 MB, free: 12.7 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.0003124/0.1235, allocations: 218.7 kB / 419.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.1236, allocations: 43.44 kB / 419.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.1237, allocations: 55.48 kB / 419.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1238, allocations: 4 kB / 419.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1238, allocations: 0 / 419.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1238, allocations: 0 / 419.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1242, allocations: 321.3 kB / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1242, allocations: 0 / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.1243, allocations: 4 kB / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.1243, allocations: 4 kB / 420 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1243, allocations: 11.98 kB / 420 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1243, allocations: 0 / 420 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1244, allocations: 0 / 420 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1247, allocations: 149.3 kB / 420.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1249, allocations: 136.6 kB / 420.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.125, allocations: 4 kB / 420.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1251, allocations: 4 kB / 420.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1252, allocations: 7.984 kB / 420.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.1252, allocations: 4 kB / 420.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001192/0.1264, allocations: 0.7253 MB / 421 MB, free: 10.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.1264, allocations: 0 / 421 MB, free: 10.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.1269, allocations: 67.83 kB / 421.1 MB, free: 10.86 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.001859/0.1287, allocations: 1.06 MB / 422.1 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.1291, allocations: 182.8 kB / 422.3 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1291, allocations: 0 / 422.3 MB, free: 9.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.1292, allocations: 27.92 kB / 422.4 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.1298, allocations: 50.27 kB / 422.4 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.1355, allocations: 2.672 MB / 425.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.1362, allocations: 0.8351 MB / 425.9 MB, free: 5.953 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.1364, allocations: 50.53 kB / 426 MB, free: 5.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.1366, allocations: 127.4 kB / 426.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1366, allocations: 0 / 426.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3263/0.4629, allocations: 7.509 MB / 433.6 MB, free: 46.26 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.4633, allocations: 242.2 kB / 433.8 MB, free: 45.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.141, allocations: 0 / 433.8 MB, free: 45.95 MB / 330.7 MB