Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.00211/0.00211, 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.002487/0.002487, 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.539/1.539, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2388/0.2388, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",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.002333/0.002333, allocations: 79.86 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.148, allocations: 66.04 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003325/0.1513, allocations: 1.657 MB / 0.5578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1525, allocations: 0.5528 MB / 0.5583 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.1525, allocations: 0 / 0.5583 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1528, allocations: 95.67 kB / 0.5584 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.1532, allocations: 119.6 kB / 0.5586 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.1534, allocations: 94.88 kB / 0.5586 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1536, allocations: 95.75 kB / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1537, allocations: 19.98 kB / 0.5588 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.1538, allocations: 47.77 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1539, allocations: 71.73 kB / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.154, allocations: 4 kB / 0.5589 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.154, allocations: 43.98 kB / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.1541, allocations: 35.84 kB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.1542, allocations: 47.67 kB / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1544, allocations: 127.4 kB / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1544, allocations: 0 / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.1544, allocations: 4 kB / 0.5591 GB, free: 2.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1544, allocations: 0 / 0.5591 GB, free: 2.484 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005787/0.155, allocations: 430.6 kB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.155, allocations: 12.03 kB / 0.5595 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.1551, allocations: 34.75 kB / 0.5596 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.1551, allocations: 16.84 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1554, allocations: 216.1 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1554, allocations: 8.375 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1554, allocations: 4.375 kB / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1556, allocations: 70.17 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1556, allocations: 7.891 kB / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1556, allocations: 0 / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1556, allocations: 0 / 0.5599 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1558, allocations: 43.95 kB / 0.5599 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.1562, allocations: 336.6 kB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1564, allocations: 54.56 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.1564, allocations: 24.84 kB / 0.5603 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.1565, allocations: 4.141 kB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1565, allocations: 30.56 kB / 0.5604 GB, free: 1.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1565, allocations: 4 kB / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001096/0.1576, allocations: 305.1 kB / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1577, allocations: 59.34 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.1579, allocations: 240 kB / 0.5609 GB, free: 424 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.158, allocations: 25.7 kB / 0.561 GB, free: 392 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.158, allocations: 116 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1581, allocations: 47.62 kB / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.1581, allocations: 33.7 kB / 0.5611 GB, free: 184 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1583, allocations: 322.8 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1584, allocations: 35.97 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.489e-05/0.1585, allocations: 39.98 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1587, allocations: 88.33 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1587, allocations: 0 / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002839/0.159, allocations: 141.5 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.159, allocations: 4 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.159, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.159, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1592, allocations: 35.97 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1592, allocations: 7.938 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.1593, allocations: 12.05 kB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1593, allocations: 11.92 kB / 0.5618 GB, free: 15.48 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 (13): * Single equations (assignments): 13 * 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.0001377/0.1594, allocations: 133.8 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1595, allocations: 15.91 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.1598, allocations: 159.8 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1598, allocations: 4 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1598, allocations: 3.938 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1598, allocations: 3.984 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.1605, allocations: 475.2 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1605, allocations: 0 / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.1606, allocations: 27.92 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.1606, allocations: 4 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1606, allocations: 4.031 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1606, allocations: 3.984 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1606, allocations: 4 kB / 0.5626 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.161, allocations: 248.1 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.161, allocations: 89.02 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1611, allocations: 8 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.1611, allocations: 15.92 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1612, allocations: 7.984 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1612, allocations: 8 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1614, allocations: 177.2 kB / 0.5631 GB, free: 14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1614, allocations: 0 / 0.5631 GB, free: 14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1617, allocations: 24 kB / 0.5632 GB, free: 13.98 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 (13): * Single equations (assignments): 13 * 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.002407/0.1641, allocations: 1.128 MB / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.1643, allocations: 87.89 kB / 0.5644 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1643, allocations: 0 / 0.5644 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1644, allocations: 51.91 kB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1648, allocations: 22.7 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.1672, allocations: 1.846 MB / 0.5662 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.1676, allocations: 0.7158 MB / 0.5669 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.1677, allocations: 28.53 kB / 0.567 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.1678, allocations: 43.42 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1678, allocations: 0 / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1944, allocations: 3.56 MB / 0.5705 GB, free: 6.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.27, allocations: 10.09 kB / 0.5705 GB, free: 6.582 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_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_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.506533656734973] 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', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.399549194145948 8.422811145 8.264124019 Calling exit ...