Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.00179, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2549/0.2549, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002243/0.002243, allocations: 84.08 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1279, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003824/0.1318, allocations: 1.943 MB / 482.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1338, allocations: 1.083 MB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.631e-05/0.1339, allocations: 4 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.1344, allocations: 263.2 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.135, allocations: 263.1 kB / 483.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.1364, allocations: 0.6416 MB / 484.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000424/0.1368, allocations: 311.2 kB / 484.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.137, allocations: 56.7 kB / 484.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1372, allocations: 135.5 kB / 484.9 MB, free: 480 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.1374, allocations: 203.2 kB / 485.1 MB, free: 276 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.1375, allocations: 12 kB / 485.1 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.1376, allocations: 47.98 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1378, allocations: 91.67 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1379, allocations: 123.1 kB / 485.4 MB, free: 16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.1384, allocations: 307 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1384, allocations: 0 / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1384, allocations: 0 / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1384, allocations: 0 / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009994/0.1394, allocations: 0.661 MB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1395, allocations: 12.03 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.1395, allocations: 38.75 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.1396, allocations: 44.38 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.1401, allocations: 342 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1401, allocations: 8.375 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.1401, allocations: 8.312 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.1404, allocations: 97.58 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1404, allocations: 0 / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1404, allocations: 4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1405, allocations: 3.984 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.1407, allocations: 75.95 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007517/0.1414, allocations: 476.4 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1416, allocations: 74.48 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1417, allocations: 32.97 kB / 487.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.1417, allocations: 11.98 kB / 487.5 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1418, allocations: 30.56 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1418, allocations: 0 / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004231/0.1422, allocations: 157.1 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1423, allocations: 55.34 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.143, allocations: 0.5957 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1431, allocations: 29.7 kB / 488.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.1433, allocations: 216.1 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1433, allocations: 19.72 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1434, allocations: 17.72 kB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1435, allocations: 358.7 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.1436, allocations: 27.98 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.1437, allocations: 19.98 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1438, allocations: 72.81 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1438, allocations: 7.938 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002291/0.1441, allocations: 125.2 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1441, allocations: 4 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1441, allocations: 0 / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1441, allocations: 7.938 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.1442, allocations: 11.94 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1442, allocations: 0 / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.1443, allocations: 15.83 kB / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1443, allocations: 4 kB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001618/0.1445, allocations: 173.8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.1446, allocations: 39.53 kB / 489.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1449, allocations: 149.7 kB / 489.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1449, allocations: 3.938 kB / 489.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1449, allocations: 4 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1449, allocations: 4.047 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.1453, allocations: 309.4 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1453, allocations: 4 kB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.1454, allocations: 19.94 kB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1454, allocations: 0 / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1454, allocations: 3.938 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1454, allocations: 7.922 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1454, allocations: 0 / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1457, allocations: 223 kB / 490.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1458, allocations: 116.6 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1459, allocations: 4 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.146, allocations: 11.92 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.146, allocations: 0 / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.146, allocations: 8 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005239/0.1465, allocations: 446.8 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1466, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1469, allocations: 39.84 kB / 490.8 MB, free: 10.21 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 (6): * Single equations (assignments): 6 * 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.002891/0.1498, allocations: 1.257 MB / 492.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.15, allocations: 67.89 kB / 492.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.15, allocations: 0 / 492.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.1501, allocations: 31.98 kB / 492.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.1508, allocations: 90.11 kB / 492.2 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.1545, allocations: 2.995 MB / 495.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.155, allocations: 0.81 MB / 496 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1552, allocations: 53.88 kB / 496.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.1553, allocations: 115.4 kB / 496.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1553, allocations: 0 / 496.2 MB, free: 4.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.186, allocations: 6.84 MB / 0.4913 GB, free: 14.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.334, allocations: 14.62 kB / 0.4913 GB, free: 14.12 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1)