Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001307/0.001307, allocations: 116.8 kB / 18.5 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.001562/0.001562, allocations: 212.9 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.507/1.507, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2247/0.2247, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",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.002286/0.002286, allocations: 80.14 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1318, allocations: 66.04 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003081/0.1349, allocations: 1.692 MB / 0.5578 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.136, allocations: 0.5565 MB / 0.5584 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.136, allocations: 4 kB / 0.5584 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.1363, allocations: 51.8 kB / 0.5584 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1366, allocations: 103.6 kB / 0.5585 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1369, allocations: 130.9 kB / 0.5587 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1371, allocations: 83.81 kB / 0.5587 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1372, allocations: 20.16 kB / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.1373, allocations: 39.89 kB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1374, allocations: 51.77 kB / 0.5588 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1374, allocations: 4 kB / 0.5589 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1375, allocations: 59.91 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.1376, allocations: 19.92 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1376, allocations: 31.73 kB / 0.559 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.1379, allocations: 119.5 kB / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1379, allocations: 0 / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1379, allocations: 0 / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1379, allocations: 0 / 0.5591 GB, free: 2.551 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006093/0.1385, allocations: 438.6 kB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1385, allocations: 8.031 kB / 0.5595 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.415e-05/0.1386, allocations: 42.73 kB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1386, allocations: 12.84 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1388, allocations: 200.1 kB / 0.5597 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1388, allocations: 384 / 0.5597 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1388, allocations: 8.375 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.139, allocations: 62.17 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.139, allocations: 3.938 kB / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1391, allocations: 4 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1391, allocations: 4 kB / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.1392, allocations: 43.95 kB / 0.5599 GB, free: 1.637 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.1396, allocations: 308.7 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1399, allocations: 58.58 kB / 0.5602 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/0.14, allocations: 28.97 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.14, allocations: 0 / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1401, allocations: 30.56 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1401, allocations: 0 / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001648/0.1417, allocations: 397.4 kB / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1418, allocations: 59.34 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.1421, allocations: 197.4 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1421, allocations: 33.64 kB / 0.5609 GB, free: 452 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1422, allocations: 108 kB / 0.561 GB, free: 340 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.1422, allocations: 35.69 kB / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1423, allocations: 25.72 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1424, allocations: 326.8 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.1426, allocations: 43.97 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1427, allocations: 43.97 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.143, allocations: 101.1 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.143, allocations: 0 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000351/0.1433, allocations: 153.4 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1434, allocations: 8 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1434, allocations: 0 / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1434, allocations: 0 / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1435, allocations: 23.98 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1435, allocations: 3.938 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.1436, allocations: 19.98 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1436, allocations: 0 / 0.5618 GB, free: 15.54 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 (11): * Single equations (assignments): 11 * 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.0001255/0.1437, allocations: 129.8 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1438, allocations: 11.91 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.1442, allocations: 162.9 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1442, allocations: 3.938 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1442, allocations: 11.94 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1442, allocations: 0 / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.1449, allocations: 472 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1449, allocations: 3.938 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.145, allocations: 23.98 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.145, allocations: 8.047 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.145, allocations: 4 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.145, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.145, allocations: 4 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.1454, allocations: 261.1 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.1455, allocations: 96.95 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1455, allocations: 4.188 kB / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1456, allocations: 11.98 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.1457, allocations: 15.92 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.1457, allocations: 4 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1458, allocations: 148.9 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1458, allocations: 4 kB / 0.5631 GB, free: 14.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1461, allocations: 23.94 kB / 0.5631 GB, free: 14.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002263/0.1483, allocations: 1.135 MB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.1487, allocations: 107.9 kB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1487, allocations: 0 / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.1488, allocations: 51.91 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1492, allocations: 19.98 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.1517, allocations: 1.826 MB / 0.5662 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.152, allocations: 0.7121 MB / 0.5669 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.1521, allocations: 20.53 kB / 0.5669 GB, free: 10.19 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.1521, allocations: 39.36 kB / 0.5669 GB, free: 10.15 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1521, allocations: 4 kB / 0.5669 GB, free: 10.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1777, allocations: 3.412 MB / 0.5703 GB, free: 6.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.148, allocations: 12.17 kB / 0.5703 GB, free: 6.789 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.358545582741499] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.270431062206626 8.286742363 8.145501924 Calling exit ...