Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.4 MB / 254.7 MB, free: 14.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2257/0.2257, allocations: 46.93 MB / 357.7 MB, free: 10.17 MB / 286.1 MB " [Timeout remaining time 180] 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002282/0.002282, allocations: 83.86 kB / 0.4917 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 66.04 MB / 0.5562 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002974/0.1299, allocations: 1.657 MB / 0.5578 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000971/0.1309, allocations: 0.5683 MB / 0.5584 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.161e-05/0.1309, allocations: 0 / 0.5584 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.1315, allocations: 455.1 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.132, allocations: 283.3 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1323, allocations: 139.4 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1326, allocations: 171.6 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1327, allocations: 11.98 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.1328, allocations: 123.6 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.1331, allocations: 243.5 kB / 0.5597 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1331, allocations: 8 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.1332, allocations: 35.98 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1333, allocations: 83.67 kB / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1334, allocations: 110.9 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1337, allocations: 270.6 kB / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1337, allocations: 0 / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1337, allocations: 0 / 0.5602 GB, free: 1.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1338, allocations: 3.984 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008075/0.1346, allocations: 0.6607 MB / 0.5609 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1346, allocations: 16.03 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.1346, allocations: 30.75 kB / 0.5609 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.1347, allocations: 44.66 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.135, allocations: 312.5 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.135, allocations: 12.25 kB / 0.5613 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.135, allocations: 4.375 kB / 0.5613 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1352, allocations: 58.22 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1352, allocations: 3.938 kB / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1352, allocations: 4 kB / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1352, allocations: 4 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1354, allocations: 31.97 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.1359, allocations: 396.6 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.136, allocations: 42.5 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.1361, allocations: 24.94 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1361, allocations: 8.062 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1362, allocations: 30.56 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1362, allocations: 0 / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008652/0.137, allocations: 304.6 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1371, allocations: 51.41 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/0.138, allocations: 0.8699 MB / 0.563 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.138, allocations: 25.7 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1382, allocations: 220 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1382, allocations: 23.8 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.1383, allocations: 17.72 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1384, allocations: 370.7 kB / 0.5636 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1385, allocations: 31.97 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1387, allocations: 35.97 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.1389, allocations: 72.73 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1389, allocations: 4 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003126/0.1392, allocations: 145.4 kB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1392, allocations: 8 kB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1392, allocations: 0 / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1392, allocations: 0 / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1394, allocations: 23.97 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1394, allocations: 0 / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.1395, allocations: 12 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1395, allocations: 3.984 kB / 0.564 GB, free: 13.26 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0002057/0.1397, allocations: 217.7 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.1397, allocations: 43.72 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.1401, allocations: 177.7 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1401, allocations: 0 / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1401, allocations: 4 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1401, allocations: 0 / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.1408, allocations: 0.5062 MB / 0.5649 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1408, allocations: 0 / 0.5649 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.1409, allocations: 19.98 kB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1409, allocations: 7.938 kB / 0.5649 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1409, allocations: 7.984 kB / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1409, allocations: 3.938 kB / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1409, allocations: 0 / 0.5649 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.1413, allocations: 239.2 kB / 0.5652 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-05/0.1414, allocations: 116.8 kB / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1414, allocations: 0 / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1415, allocations: 19.94 kB / 0.5653 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1415, allocations: 3.984 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.1416, allocations: 4 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006439/0.1422, allocations: 0.6589 MB / 0.5659 GB, free: 11.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1422, allocations: 0 / 0.5659 GB, free: 11.13 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1425, allocations: 24 kB / 0.566 GB, free: 11.11 MB / 430.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 (7): * Single equations (assignments): 7 * 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.002015/0.1445, allocations: 1.08 MB / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1448, allocations: 75.92 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1448, allocations: 4 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1449, allocations: 47.89 kB / 0.5671 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1453, allocations: 26.25 kB / 0.5672 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.1495, allocations: 3.327 MB / 0.5704 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.1499, allocations: 0.826 MB / 0.5712 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.15, allocations: 12.97 kB / 0.5712 GB, free: 5.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1501, allocations: 103.4 kB / 0.5713 GB, free: 5.613 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1501, allocations: 4 kB / 0.5713 GB, free: 5.609 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.1779, allocations: 6.227 MB / 0.5774 GB, free: 15.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.885/9.063, allocations: 0 / 0.5774 GB, free: 15.44 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.119298830162734] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 9.18884646287188 9.214427615 9.076088396 Calling exit ...