Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001331/0.001331, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001375/0.001375, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.469/1.469, 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.2319/0.2319, allocations: 46.93 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.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.002241/0.002241, allocations: 83.86 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1407, allocations: 66.04 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.00313/0.1438, allocations: 1.62 MB / 0.5578 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1449, allocations: 0.5566 MB / 0.5583 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.145, allocations: 0 / 0.5583 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.1452, allocations: 71.77 kB / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.1455, allocations: 103.6 kB / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.1459, allocations: 114.9 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1461, allocations: 87.75 kB / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1462, allocations: 8 kB / 0.5587 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.1463, allocations: 39.83 kB / 0.5587 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1464, allocations: 55.81 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1464, allocations: 0 / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-05/0.1465, allocations: 47.98 kB / 0.5588 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.1466, allocations: 19.92 kB / 0.5588 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1466, allocations: 35.73 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1468, allocations: 99.53 kB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1468, allocations: 0 / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1468, allocations: 4 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1468, allocations: 3.984 kB / 0.559 GB, free: 2.656 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.0005287/0.1474, allocations: 410.7 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1474, allocations: 15.97 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.1475, allocations: 30.75 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1475, allocations: 12.84 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1477, allocations: 204.2 kB / 0.5596 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1477, allocations: 4.375 kB / 0.5596 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1478, allocations: 8.312 kB / 0.5596 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1479, allocations: 58.17 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1479, allocations: 3.938 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1479, allocations: 4 kB / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1479, allocations: 0 / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.148, allocations: 27.97 kB / 0.5597 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1485, allocations: 304.8 kB / 0.56 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1486, allocations: 50.48 kB / 0.5601 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.1487, allocations: 12.86 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1487, allocations: 4 kB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1487, allocations: 34.64 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1487, allocations: 4 kB / 0.5601 GB, free: 1.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009447/0.1497, allocations: 233.6 kB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1497, allocations: 59.41 kB / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1499, allocations: 197.5 kB / 0.5606 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.713e-05/0.15, allocations: 29.7 kB / 0.5606 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/0.1501, allocations: 108.1 kB / 0.5607 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.1501, allocations: 31.69 kB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.1502, allocations: 25.78 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1504, allocations: 326.8 kB / 0.5611 GB, free: 276 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.1505, allocations: 31.97 kB / 0.5611 GB, free: 244 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.1506, allocations: 27.97 kB / 0.5611 GB, free: 216 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.1507, allocations: 72.83 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1507, allocations: 0 / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000245/0.151, allocations: 109.8 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.151, allocations: 4 kB / 0.5613 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.151, allocations: 3.984 kB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.151, allocations: 4 kB / 0.5613 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1511, allocations: 15.98 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1511, allocations: 12 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1512, allocations: 4 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1512, allocations: 7.938 kB / 0.5614 GB, free: 15.97 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 (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.000105/0.1513, allocations: 129.8 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.1513, allocations: 11.91 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.1516, allocations: 123 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1516, allocations: 7.922 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1516, allocations: 4 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1516, allocations: 7.938 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.1523, allocations: 419.2 kB / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1523, allocations: 0 / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.1524, allocations: 23.98 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1524, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1524, allocations: 7.938 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1524, allocations: 4.031 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1524, allocations: 0 / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1527, allocations: 216.2 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.1528, allocations: 85.06 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1528, allocations: 7.922 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.1529, allocations: 12 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1529, allocations: 7.984 kB / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1529, allocations: 0 / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.153, allocations: 156.9 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 0 / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1533, allocations: 23.94 kB / 0.5626 GB, free: 14.63 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.002185/0.1555, allocations: 1.095 MB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.1557, allocations: 79.92 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1557, allocations: 0 / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1558, allocations: 39.92 kB / 0.5637 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1562, allocations: 24.88 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1583, allocations: 1.687 MB / 0.5654 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.1587, allocations: 0.7048 MB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.956e-05/0.1588, allocations: 20.64 kB / 0.5661 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.1588, allocations: 39.42 kB / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1588, allocations: 0 / 0.5662 GB, free: 10.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.1846, allocations: 3.141 MB / 0.5692 GB, free: 7.895 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.373, allocations: 7.188 kB / 0.5692 GB, free: 7.891 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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_CombiTable1Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.438487773295492] 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.495779670309275 8.520845062 8.369532224 Calling exit ...