Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001791/0.001791, allocations: 116.2 kB / 18.5 MB, free: 4.602 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.002212/0.002212, allocations: 205 kB / 21.45 MB, free: 1.652 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.506/1.506, allocations: 230.5 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.2389/0.2389, allocations: 46.93 MB / 357.7 MB, free: 10.31 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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test3",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.002588/0.002588, allocations: 83.88 kB / 0.4917 GB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1497, allocations: 66.04 MB / 0.5562 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003691/0.1534, allocations: 1.61 MB / 0.5578 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1546, allocations: 0.5488 MB / 0.5583 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.1547, allocations: 0 / 0.5583 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.155, allocations: 75.72 kB / 0.5584 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.1554, allocations: 99.64 kB / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.1557, allocations: 91.33 kB / 0.5585 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.156, allocations: 87.73 kB / 0.5586 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1561, allocations: 16 kB / 0.5586 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.1562, allocations: 39.83 kB / 0.5587 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1563, allocations: 55.81 kB / 0.5587 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1563, allocations: 4 kB / 0.5587 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1565, allocations: 47.92 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.1565, allocations: 15.94 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.1566, allocations: 31.73 kB / 0.5588 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.1569, allocations: 103.5 kB / 0.5589 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1569, allocations: 0 / 0.5589 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1569, allocations: 0 / 0.5589 GB, free: 2.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1569, allocations: 0 / 0.5589 GB, free: 2.809 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.0007135/0.1576, allocations: 418.7 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1576, allocations: 12.03 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.1577, allocations: 34.69 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1577, allocations: 12.84 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.158, allocations: 204.2 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.158, allocations: 384 / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.158, allocations: 8.375 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1582, allocations: 54.17 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1582, allocations: 11.92 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1582, allocations: 0 / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1582, allocations: 4 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1583, allocations: 19.98 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1588, allocations: 304.7 kB / 0.56 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1589, allocations: 38.56 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.159, allocations: 20.94 kB / 0.56 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.159, allocations: 4 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.159, allocations: 34.5 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.159, allocations: 0 / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001041/0.1601, allocations: 221.2 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.1601, allocations: 55.39 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.1604, allocations: 197.5 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1604, allocations: 33.7 kB / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.1605, allocations: 100.1 kB / 0.5606 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.1605, allocations: 31.73 kB / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.1605, allocations: 17.72 kB / 0.5607 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.1608, allocations: 330.8 kB / 0.561 GB, free: 464 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.1609, allocations: 27.97 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.161, allocations: 23.98 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1612, allocations: 64.89 kB / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1612, allocations: 0 / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002315/0.1614, allocations: 101.6 kB / 0.5612 GB, free: 236 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1614, allocations: 8 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1614, allocations: 0 / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1614, allocations: 0 / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1616, allocations: 19.98 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1616, allocations: 320 / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.1616, allocations: 7.984 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1616, allocations: 3.938 kB / 0.5613 GB, free: 196 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.0001049/0.1617, allocations: 125.8 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1618, allocations: 27.83 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.1621, allocations: 115 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1621, allocations: 0 / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1622, allocations: 0 / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1622, allocations: 3.984 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.1628, allocations: 411.2 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1628, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.1628, allocations: 23.98 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1628, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1629, allocations: 3.938 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1629, allocations: 4 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1629, allocations: 3.938 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1631, allocations: 208.7 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.1632, allocations: 81.06 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1632, allocations: 11.94 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1633, allocations: 4 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.1633, allocations: 7.969 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1633, allocations: 4 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1635, allocations: 152.9 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1635, allocations: 0 / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1637, allocations: 27.94 kB / 0.5624 GB, free: 14.88 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.002372/0.1661, allocations: 1.094 MB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.1663, allocations: 67.88 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1663, allocations: 0 / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.1664, allocations: 28.05 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1668, allocations: 23.98 kB / 0.5636 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.1689, allocations: 1.636 MB / 0.5652 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1693, allocations: 0.7087 MB / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.649e-05/0.1694, allocations: 12.66 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1694, allocations: 35.42 kB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1694, allocations: 0 / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.194, allocations: 3.082 MB / 0.5689 GB, free: 8.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.411, allocations: 0 / 0.5689 GB, free: 8.285 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.602030382025987] 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.545537660829723 8.560824573 8.4009818 Calling exit ...