Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001741/0.001741, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002534/0.002534, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.486/1.486, allocations: 230.5 MB / 254.7 MB, free: 14.83 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.2453/0.2453, allocations: 46.93 MB / 357.7 MB, free: 10.16 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.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.002311/0.002311, allocations: 88.09 kB / 0.4917 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1325, allocations: 66.03 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002915/0.1355, allocations: 1.615 MB / 0.5577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1365, allocations: 0.5566 MB / 0.5583 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.1366, allocations: 0 / 0.5583 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.1368, allocations: 27.78 kB / 0.5583 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.137, allocations: 71.69 kB / 0.5584 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1373, allocations: 99.44 kB / 0.5585 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1374, allocations: 79.75 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.1375, allocations: 8 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.1376, allocations: 31.92 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.1376, allocations: 35.77 kB / 0.5586 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1377, allocations: 7.938 kB / 0.5586 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1378, allocations: 111.9 kB / 0.5587 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.1379, allocations: 8 kB / 0.5588 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.1379, allocations: 27.8 kB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1382, allocations: 155.4 kB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1382, allocations: 0 / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1382, allocations: 0 / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1382, allocations: 0 / 0.5589 GB, free: 2.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005385/0.1387, allocations: 420.7 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1388, allocations: 8.031 kB / 0.5593 GB, free: 2.211 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1388, allocations: 38.75 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1388, allocations: 8.891 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1391, allocations: 192.2 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1391, allocations: 12.31 kB / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1391, allocations: 384 / 0.5596 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1393, allocations: 71.95 kB / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1393, allocations: 7.938 kB / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1393, allocations: 0 / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1393, allocations: 0 / 0.5597 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.1394, allocations: 27.97 kB / 0.5597 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1398, allocations: 300.8 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.14, allocations: 54.5 kB / 0.56 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.14, allocations: 28.97 kB / 0.56 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1401, allocations: 4 kB / 0.56 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1401, allocations: 34.55 kB / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1401, allocations: 0 / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000659/0.1407, allocations: 189.4 kB / 0.5603 GB, free: 1.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1408, allocations: 77.11 kB / 0.5603 GB, free: 1.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.141, allocations: 158.1 kB / 0.5605 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.141, allocations: 29.7 kB / 0.5605 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.1411, allocations: 100.1 kB / 0.5606 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1411, allocations: 19.84 kB / 0.5606 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1411, allocations: 25.66 kB / 0.5607 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1413, allocations: 326.8 kB / 0.561 GB, free: 356 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.1414, allocations: 31.97 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1415, allocations: 49.64 kB / 0.561 GB, free: 268 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1417, allocations: 72.81 kB / 0.5611 GB, free: 192 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1417, allocations: 0 / 0.5611 GB, free: 192 kB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000262/0.142, allocations: 117.5 kB / 0.5612 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.142, allocations: 13.84 kB / 0.5612 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.142, allocations: 0 / 0.5612 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.142, allocations: 0 / 0.5612 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1421, allocations: 19.98 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1421, allocations: 3.938 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.1422, allocations: 11.92 kB / 0.5613 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1422, allocations: 8 kB / 0.5613 GB, free: 12 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 (9): * Single equations (assignments): 9 * 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.0001072/0.1423, allocations: 117.8 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.1423, allocations: 7.953 kB / 0.5614 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.1426, allocations: 114.4 kB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1426, allocations: 0 / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1426, allocations: 0 / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1426, allocations: 3.984 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.1432, allocations: 402.7 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1432, allocations: 0 / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.1433, allocations: 27.92 kB / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1433, allocations: 0 / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1433, allocations: 0 / 0.5619 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1433, allocations: 8.172 kB / 0.5619 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1433, allocations: 0 / 0.5619 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.1436, allocations: 203.4 kB / 0.5621 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.1436, allocations: 85.06 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1436, allocations: 4.281 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.1437, allocations: 3.938 kB / 0.5622 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1438, allocations: 11.98 kB / 0.5622 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1438, allocations: 7.938 kB / 0.5622 GB, free: 14.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1439, allocations: 117.5 kB / 0.5623 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1439, allocations: 0 / 0.5623 GB, free: 14.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1442, allocations: 47.86 kB / 0.5624 GB, free: 14.77 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 (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.002222/0.1464, allocations: 1.123 MB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1467, allocations: 71.89 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1467, allocations: 0 / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.1468, allocations: 35.97 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1471, allocations: 20.11 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.149, allocations: 1.553 MB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1494, allocations: 0.7 MB / 0.5658 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.1494, allocations: 24.36 kB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.1495, allocations: 31.42 kB / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1495, allocations: 0 / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.1751, allocations: 3.592 MB / 0.5694 GB, free: 7.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.174, allocations: 12.59 kB / 0.5694 GB, free: 7.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.289784307125956] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y'] 8.312379215843976 8.333969075 8.191655713 Calling exit ...