Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test36",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.01243/0.01244, allocations: 165.7 kB / 15.12 MB, free: 5.961 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.695/1.695, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001764/0.001764, allocations: 101.8 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.435/0.435, allocations: 38.04 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000657/0.0006572, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1166, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002513/0.1192, allocations: 1.298 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1204, allocations: 419.5 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.1205, allocations: 4 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.1208, allocations: 79.81 kB / 413.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.1211, allocations: 59.88 kB / 413.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1214, allocations: 59.81 kB / 413.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1216, allocations: 67.81 kB / 413.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.1217, allocations: 11.97 kB / 413.7 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.1218, allocations: 35.84 kB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1219, allocations: 47.83 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.122, allocations: 7.938 kB / 413.8 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1221, allocations: 39.97 kB / 413.8 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1222, allocations: 15.98 kB / 413.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1222, allocations: 37.64 kB / 413.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1225, allocations: 92.09 kB / 414 MB, free: 2.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1225, allocations: 3.938 kB / 414 MB, free: 2.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1225, allocations: 0 / 414 MB, free: 2.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1225, allocations: 0 / 414 MB, free: 2.402 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.0006168/0.1232, allocations: 420.6 kB / 414.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1232, allocations: 15.97 kB / 414.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.1233, allocations: 30.56 kB / 414.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1233, allocations: 11.91 kB / 414.4 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1236, allocations: 196.2 kB / 414.6 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1236, allocations: 4 kB / 414.6 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1237, allocations: 3.984 kB / 414.6 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1238, allocations: 49.67 kB / 414.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1238, allocations: 0 / 414.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1239, allocations: 0 / 414.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1239, allocations: 4 kB / 414.7 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.1239, allocations: 11.92 kB / 414.7 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.1244, allocations: 296.8 kB / 415 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.1247, allocations: 38.58 kB / 415 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.1247, allocations: 12.94 kB / 415 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1247, allocations: 0 / 415 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.1249, allocations: 59.34 kB / 415.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 4.268e-06/0.125, allocations: 4 kB / 415.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005006/0.1255, allocations: 121.2 kB / 415.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1255, allocations: 59.34 kB / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.1258, allocations: 208 kB / 415.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1259, allocations: 29.7 kB / 415.5 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.126, allocations: 104.1 kB / 415.6 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.126, allocations: 19.75 kB / 415.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.126, allocations: 0 / 415.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1262, allocations: 326.8 kB / 415.9 MB, free: 192 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.1263, allocations: 19.98 kB / 416 MB, free: 172 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.1263, allocations: 16 kB / 416 MB, free: 156 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.1264, allocations: 53.73 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1264, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002916/0.1267, allocations: 127.1 kB / 416.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.1268, allocations: 29.7 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1268, allocations: 0 / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1268, allocations: 4 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.163e-05/0.1269, allocations: 11.98 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.127, allocations: 4.156 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.127, allocations: 3.953 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1271, allocations: 11.98 kB / 416.2 MB, free: 15.89 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.0001392/0.1272, allocations: 126.9 kB / 416.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.1273, allocations: 7.906 kB / 416.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.1273, allocations: 13 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1273, allocations: 4 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1274, allocations: 0 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1274, allocations: 3.938 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.1279, allocations: 346.5 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1279, allocations: 0 / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.1279, allocations: 4 kB / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.128, allocations: 0 / 416.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.128, allocations: 4.281 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.128, allocations: 3.984 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.128, allocations: 3.953 kB / 416.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1282, allocations: 171.4 kB / 416.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1283, allocations: 92.91 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1284, allocations: 192 / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.1285, allocations: 7.938 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1285, allocations: 11.98 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1286, allocations: 7.953 kB / 417 MB, free: 15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.1288, allocations: 151.9 kB / 417.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1288, allocations: 0 / 417.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.1291, allocations: 27.98 kB / 417.2 MB, free: 14.82 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.001542/0.1307, allocations: 0.9466 MB / 418.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.131, allocations: 107.4 kB / 418.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.131, allocations: 4 kB / 418.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.405e-05/0.1311, allocations: 19.94 kB / 418.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.1316, allocations: 15.98 kB / 418.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1332, allocations: 0.6909 MB / 419 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1336, allocations: 0.7043 MB / 419.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.1336, allocations: 8 kB / 419.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.1337, allocations: 27.42 kB / 419.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1338, allocations: 0 / 419.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.1604, allocations: 2.723 MB / 422.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.1607, allocations: 251.7 kB / 422.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/2.732, allocations: 64 / 422.7 MB, free: 9.219 MB / 330.7 MB