Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001252, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2507/0.2507, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 78.88 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1216, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004043/0.1256, allocations: 1.654 MB / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1267, allocations: 0.6802 MB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1268, allocations: 0 / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.127, allocations: 31.83 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1272, allocations: 39.84 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.1272, allocations: 3.938 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1274, allocations: 31.89 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.1274, allocations: 12 kB / 482.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.1275, allocations: 7.938 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.1275, allocations: 19.91 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1276, allocations: 0 / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.827e-05/0.1276, allocations: 8 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.1277, allocations: 15.94 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1277, allocations: 19.86 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1278, allocations: 79.89 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1279, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1279, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1279, allocations: 4 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004046/0.1283, allocations: 359.4 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1283, allocations: 8.031 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1284, allocations: 42.73 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.1284, allocations: 8.75 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1286, allocations: 172.3 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1286, allocations: 384 / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.1286, allocations: 12.31 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1288, allocations: 129.4 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1288, allocations: 3.938 kB / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1288, allocations: 0 / 483.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/0.1289, allocations: 27.92 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.129, allocations: 43.91 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.1296, allocations: 0.8867 MB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.1297, allocations: 169.1 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1298, allocations: 84.08 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.1298, allocations: 79.28 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.1299, allocations: 113.9 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1299, allocations: 0 / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.521e-05/0.13, allocations: 37.61 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/0.1301, allocations: 134.7 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1303, allocations: 190 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.1303, allocations: 25.7 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1304, allocations: 147.1 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/0.1304, allocations: 3.984 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1305, allocations: 45.56 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1306, allocations: 322.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.1307, allocations: 31.98 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1308, allocations: 157 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.1311, allocations: 204.9 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1311, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000317/0.1314, allocations: 209 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1314, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1314, allocations: 4 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1315, allocations: 8 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1316, allocations: 36.55 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.1316, allocations: 12 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.1317, allocations: 31.67 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1317, allocations: 8 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.1319, allocations: 209 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.1319, allocations: 124.7 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.132, allocations: 116.9 kB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.1321, allocations: 184.2 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-05/0.1322, allocations: 176.3 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.402e-05/0.1323, allocations: 180.2 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.1326, allocations: 425.1 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-05/0.1326, allocations: 109 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.1327, allocations: 104.9 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.064e-05/0.1328, allocations: 188.2 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.651e-05/0.1328, allocations: 176.3 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.985e-05/0.133, allocations: 188.2 kB / 488.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.681e-05/0.133, allocations: 176.3 kB / 488.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1332, allocations: 323.6 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1333, allocations: 186 kB / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.1334, allocations: 184.2 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/0.1336, allocations: 105 kB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.1336, allocations: 180.2 kB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.1337, allocations: 105 kB / 489.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1338, allocations: 135.2 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1338, allocations: 0 / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1342, allocations: 16 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.1352, allocations: 0.9153 MB / 490.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1354, allocations: 71.78 kB / 491 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1354, allocations: 4 kB / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.1354, allocations: 0 / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1359, allocations: 460.9 kB / 491.4 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1378, allocations: 1.874 MB / 493.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1382, allocations: 0.7044 MB / 494 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.1384, allocations: 49.02 kB / 494.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.1385, allocations: 27.42 kB / 494.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1385, allocations: 4 kB / 494.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.1638, allocations: 2.059 MB / 496.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.046, allocations: 6.906 kB / 496.2 MB, free: 4.414 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1)