Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01431/0.01431, allocations: 166 kB / 15.12 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.256/2.256, allocations: 194.5 MB / 210.3 MB, free: 7.793 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001772/0.001772, allocations: 112.1 kB / 255.6 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2514/0.2514, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.0006511, allocations: 15.91 kB / 406.3 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1122, allocations: 54.89 MB / 461.2 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002529/0.1148, allocations: 1.361 MB / 462.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1165, allocations: 0.715 MB / 463.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.1166, allocations: 0 / 463.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.117, allocations: 79.83 kB / 463.3 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1173, allocations: 59.8 kB / 463.4 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.1175, allocations: 55.89 kB / 463.4 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1177, allocations: 99.67 kB / 463.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1178, allocations: 4 kB / 463.5 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.118, allocations: 39.84 kB / 463.6 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1181, allocations: 59.8 kB / 463.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1182, allocations: 0 / 463.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1183, allocations: 35.98 kB / 463.7 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1184, allocations: 31.84 kB / 463.7 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1184, allocations: 41.64 kB / 463.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1187, allocations: 83.88 kB / 463.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1187, allocations: 3.984 kB / 463.8 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1187, allocations: 0 / 463.8 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1187, allocations: 4 kB / 463.8 MB, free: 0.5078 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005895/0.1193, allocations: 458.3 kB / 464.3 MB, free: 0 / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.989e-05/0.1194, allocations: 8.078 kB / 464.3 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.1195, allocations: 38.56 kB / 464.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.1196, allocations: 19.81 kB / 464.3 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1199, allocations: 198.8 kB / 464.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.12, allocations: 4 kB / 464.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.12, allocations: 7.938 kB / 464.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1202, allocations: 53.67 kB / 464.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1203, allocations: 0 / 464.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1203, allocations: 3.953 kB / 464.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1203, allocations: 0 / 464.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1205, allocations: 27.97 kB / 464.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.121, allocations: 300.9 kB / 464.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1214, allocations: 62.61 kB / 465 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1215, allocations: 16.86 kB / 465 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1215, allocations: 3.984 kB / 465 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1218, allocations: 79.25 kB / 465.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.1218, allocations: 3.938 kB / 465.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008714/0.1227, allocations: 173.2 kB / 465.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1228, allocations: 59.39 kB / 465.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.1231, allocations: 210.3 kB / 465.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1232, allocations: 37.69 kB / 465.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1233, allocations: 103.9 kB / 465.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.1234, allocations: 27.73 kB / 465.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.1234, allocations: 4 kB / 465.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1236, allocations: 330.8 kB / 466 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.1261, allocations: 27.98 kB / 466 MB, free: 14.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.1263, allocations: 45.7 kB / 466.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1265, allocations: 61.69 kB / 466.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1265, allocations: 0 / 466.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005042/0.127, allocations: 171.1 kB / 466.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.1271, allocations: 33.7 kB / 466.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1271, allocations: 0 / 466.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1271, allocations: 7.984 kB / 466.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1273, allocations: 12 kB / 466.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1274, allocations: 4.062 kB / 466.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1275, allocations: 8 kB / 466.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.1275, allocations: 4 kB / 466.4 MB, free: 13.69 MB / 314.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001824/0.1277, allocations: 139.9 kB / 466.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.1278, allocations: 23.7 kB / 466.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.1278, allocations: 17.77 kB / 466.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1279, allocations: 4 kB / 466.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1279, allocations: 0 / 466.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1279, allocations: 0 / 466.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.1287, allocations: 399.3 kB / 467 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.1287, allocations: 4 kB / 467 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.1288, allocations: 16.02 kB / 467 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.1288, allocations: 0 / 467 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1288, allocations: 0 / 467 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.1288, allocations: 4 kB / 467 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1289, allocations: 0 / 467 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.1293, allocations: 212.1 kB / 467.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1294, allocations: 93 kB / 467.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.1295, allocations: 8 kB / 467.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1296, allocations: 0 / 467.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.1297, allocations: 11.98 kB / 467.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1297, allocations: 4 kB / 467.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.13, allocations: 167.3 kB / 467.5 MB, free: 12.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.13, allocations: 3.938 kB / 467.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005495/0.1306, allocations: 28 kB / 467.5 MB, free: 12.48 MB / 314.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002363/0.133, allocations: 1.069 MB / 468.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.1334, allocations: 143.4 kB / 468.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1334, allocations: 0 / 468.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1336, allocations: 39.98 kB / 468.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.1343, allocations: 27.14 kB / 468.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.1373, allocations: 0.8016 MB / 469.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.1378, allocations: 0.7122 MB / 470.3 MB, free: 9.648 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1379, allocations: 24.5 kB / 470.3 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1381, allocations: 31.42 kB / 470.3 MB, free: 9.594 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1381, allocations: 0 / 470.3 MB, free: 9.594 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.1807, allocations: 3.058 MB / 473.4 MB, free: 6.562 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003466/0.1811, allocations: 240.8 kB / 473.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/2.678, allocations: 0 / 473.6 MB, free: 6.254 MB / 314.7 MB