Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001423/0.001423, allocations: 117.9 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.001706/0.001706, allocations: 214.5 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.471/1.471, 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.2312/0.2312, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",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.0023/0.0023, allocations: 79.88 kB / 0.4917 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1413, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003186/0.1444, allocations: 1.617 MB / 0.5578 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1455, allocations: 0.5449 MB / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.1456, allocations: 0 / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1459, allocations: 79.7 kB / 0.5584 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1462, allocations: 99.64 kB / 0.5585 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1465, allocations: 99.06 kB / 0.5586 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.1467, allocations: 83.77 kB / 0.5586 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1468, allocations: 15.98 kB / 0.5587 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.1469, allocations: 39.83 kB / 0.5587 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.147, allocations: 55.81 kB / 0.5588 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.147, allocations: 4 kB / 0.5588 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1471, allocations: 47.98 kB / 0.5588 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1472, allocations: 19.86 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.1472, allocations: 35.73 kB / 0.5589 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1474, allocations: 99.58 kB / 0.559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1474, allocations: 4 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1474, allocations: 4 kB / 0.559 GB, free: 2.723 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1475, allocations: 0 / 0.559 GB, free: 2.723 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.0005793/0.148, allocations: 422.6 kB / 0.5594 GB, free: 2.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1481, allocations: 12.02 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1481, allocations: 38.75 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1482, allocations: 16.84 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.1484, allocations: 208.7 kB / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1484, allocations: 384 / 0.5596 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1484, allocations: 8.375 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1486, allocations: 50.25 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1486, allocations: 7.922 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1486, allocations: 3.984 kB / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1486, allocations: 0 / 0.5597 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.1487, allocations: 23.98 kB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1491, allocations: 296.8 kB / 0.56 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1492, allocations: 46.56 kB / 0.56 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.1493, allocations: 16.94 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1493, allocations: 0 / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1493, allocations: 34.56 kB / 0.5601 GB, free: 1.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.1493, allocations: 0 / 0.5601 GB, free: 1.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009215/0.1502, allocations: 225.2 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1503, allocations: 51.41 kB / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1505, allocations: 218.3 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1505, allocations: 29.7 kB / 0.5606 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1506, allocations: 112 kB / 0.5607 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1507, allocations: 35.81 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1507, allocations: 21.7 kB / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1509, allocations: 326.8 kB / 0.5611 GB, free: 340 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.1509, allocations: 27.98 kB / 0.5611 GB, free: 312 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.151, allocations: 19.98 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1512, allocations: 60.83 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1512, allocations: 4 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002316/0.1514, allocations: 105.5 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1514, allocations: 4 kB / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1515, allocations: 320 / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1515, allocations: 0 / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1516, allocations: 19.98 kB / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1516, allocations: 0 / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.1516, allocations: 4 kB / 0.5613 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1516, allocations: 11.92 kB / 0.5613 GB, free: 72 kB / 414.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 (8): * Single equations (assignments): 8 * 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.0001351/0.1518, allocations: 129.8 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.1518, allocations: 11.91 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.1521, allocations: 119 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1521, allocations: 4 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1521, allocations: 3.938 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1521, allocations: 0 / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.1527, allocations: 415.2 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1527, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.1528, allocations: 19.98 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1528, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1528, allocations: 3.938 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1528, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1528, allocations: 4 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1531, allocations: 208.3 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1531, allocations: 85.44 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1531, allocations: 15.92 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.1532, allocations: 4 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.1533, allocations: 3.984 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.1533, allocations: 4 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1534, allocations: 176.2 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1534, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1537, allocations: 19.94 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002158/0.1558, allocations: 1.079 MB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.1561, allocations: 63.94 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1561, allocations: 7.938 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.1562, allocations: 31.98 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1565, allocations: 22.59 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1586, allocations: 1.68 MB / 0.5653 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1589, allocations: 0.7079 MB / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.03e-05/0.159, allocations: 8.672 kB / 0.566 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.159, allocations: 39.42 kB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.159, allocations: 0 / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.1827, allocations: 3.139 MB / 0.5691 GB, free: 8.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.155, allocations: 12 kB / 0.5691 GB, free: 8.055 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.311105700675398] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.273826386313885 8.289654614 8.138155377 Calling exit ...