Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001307, 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.001342/0.001342, 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.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2328/0.2328, 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.002362/0.002362, allocations: 84.59 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.127, allocations: 62.44 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.004055/0.1311, allocations: 2.043 MB / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1331, allocations: 1.017 MB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1333, allocations: 0 / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.1339, allocations: 263.1 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006071/0.1345, allocations: 263.1 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1357, allocations: 496 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.1363, allocations: 315.2 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1365, allocations: 64.98 kB / 484.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1367, allocations: 139.4 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.137, allocations: 211.2 kB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.1371, allocations: 12 kB / 485 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.1373, allocations: 95.91 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1374, allocations: 95.67 kB / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1376, allocations: 131 kB / 485.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.1381, allocations: 350.7 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1381, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1382, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1382, allocations: 0 / 485.7 MB, free: 15.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009737/0.1392, allocations: 0.6806 MB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1392, allocations: 8.031 kB / 486.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/0.1393, allocations: 54.67 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/0.1394, allocations: 44.38 kB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.1398, allocations: 334 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1398, allocations: 4.375 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1399, allocations: 12.38 kB / 486.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1402, allocations: 109.5 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1402, allocations: 8 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1402, allocations: 4 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1402, allocations: 4 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1404, allocations: 67.89 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.1411, allocations: 0.5041 MB / 487.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1413, allocations: 102.5 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.1414, allocations: 32.84 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1415, allocations: 0 / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1415, allocations: 42.5 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1415, allocations: 0 / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001019/0.1425, allocations: 403.7 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1426, allocations: 55.41 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/0.1433, allocations: 0.58 MB / 488.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1433, allocations: 25.7 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.1435, allocations: 220.3 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.1436, allocations: 55.11 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.1436, allocations: 41.7 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.1439, allocations: 350.8 kB / 489.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.144, allocations: 51.97 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1442, allocations: 50.47 kB / 489.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1445, allocations: 120.8 kB / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1445, allocations: 0 / 489.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003873/0.1449, allocations: 211.1 kB / 489.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1449, allocations: 4 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1449, allocations: 4 kB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1449, allocations: 0 / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1451, allocations: 35.97 kB / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1451, allocations: 0 / 489.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.1452, allocations: 8 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1452, allocations: 4 kB / 489.8 MB, free: 11.25 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 (17): * Single equations (assignments): 17 * 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.0001982/0.1454, allocations: 193.6 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.1455, allocations: 39.44 kB / 490.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.146, allocations: 237.7 kB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.146, allocations: 3.938 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.146, allocations: 0 / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.146, allocations: 7.984 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.1469, allocations: 0.6444 MB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1469, allocations: 3.938 kB / 490.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1471, allocations: 35.92 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1471, allocations: 0 / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1471, allocations: 4 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1471, allocations: 3.938 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1471, allocations: 4 kB / 491 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.1476, allocations: 302.8 kB / 491.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1477, allocations: 116.6 kB / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1477, allocations: 4 kB / 491.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1478, allocations: 11.92 kB / 491.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1479, allocations: 15.98 kB / 491.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1479, allocations: 8 kB / 491.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005223/0.1484, allocations: 439 kB / 491.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 0 / 491.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.1488, allocations: 55.98 kB / 491.9 MB, free: 9.039 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 (17): * Single equations (assignments): 17 * 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.003429/0.1522, allocations: 1.422 MB / 493.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.1526, allocations: 139.7 kB / 493.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1526, allocations: 0 / 493.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.1528, allocations: 78.25 kB / 493.6 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.1534, allocations: 93.14 kB / 493.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.1578, allocations: 3.195 MB / 496.8 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.1583, allocations: 0.8143 MB / 497.7 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1584, allocations: 46.25 kB / 497.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.1587, allocations: 131.4 kB / 497.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1587, allocations: 3.938 kB / 497.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.1905, allocations: 7.483 MB / 0.4935 GB, free: 11.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.398, allocations: 22.64 kB / 0.4935 GB, free: 11.87 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_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_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1)