Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001573/0.001573, 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.001648/0.001648, 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.476/1.476, 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.2371/0.2371, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002414/0.002414, allocations: 79.86 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.131, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003293/0.1343, allocations: 1.613 MB / 0.5578 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1355, allocations: 0.5644 MB / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1355, allocations: 0 / 0.5583 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006593/0.1362, allocations: 455.1 kB / 0.5587 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005487/0.1367, allocations: 295.3 kB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.1372, allocations: 167.1 kB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1375, allocations: 163.6 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1377, allocations: 12 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1378, allocations: 115.7 kB / 0.5595 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.1382, allocations: 243.5 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1382, allocations: 4 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1383, allocations: 31.97 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1384, allocations: 83.64 kB / 0.5598 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.1385, allocations: 103 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.1389, allocations: 258.6 kB / 0.5601 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1389, allocations: 4 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1389, allocations: 0 / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.139, allocations: 0 / 0.5602 GB, free: 1.457 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009069/0.1399, allocations: 0.6568 MB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1399, allocations: 8.031 kB / 0.5608 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.1399, allocations: 30.75 kB / 0.5608 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/0.14, allocations: 48.59 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1404, allocations: 312.6 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.1404, allocations: 384 / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1404, allocations: 4.312 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1406, allocations: 50.25 kB / 0.5612 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1406, allocations: 3.938 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1406, allocations: 4 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1406, allocations: 4 kB / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.1407, allocations: 19.98 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.1413, allocations: 388.8 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.1414, allocations: 38.5 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.1415, allocations: 16.91 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1415, allocations: 0 / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1416, allocations: 38.5 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1416, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.1419, allocations: 109.4 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.142, allocations: 55.34 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.143, allocations: 0.8738 MB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.143, allocations: 25.7 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.1432, allocations: 228.1 kB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1433, allocations: 7.891 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1433, allocations: 17.72 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1435, allocations: 362.7 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.1435, allocations: 16.03 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.1436, allocations: 7.984 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.1437, allocations: 28.84 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1437, allocations: 0 / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001964/0.1439, allocations: 97.33 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1439, allocations: 4 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1439, allocations: 4 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1439, allocations: 8.094 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.144, allocations: 4 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.144, allocations: 3.984 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.144, allocations: 4 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.144, allocations: 4 kB / 0.5635 GB, free: 13.77 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 (2): * Single equations (assignments): 2 * 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.0002083/0.1443, allocations: 221.6 kB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.1443, allocations: 43.67 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1446, allocations: 116.7 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1446, allocations: 0 / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1446, allocations: 0 / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1446, allocations: 3.984 kB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.1449, allocations: 289.5 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1449, allocations: 3.938 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.1449, allocations: 7.984 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1449, allocations: 0 / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1449, allocations: 0 / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1449, allocations: 0 / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1449, allocations: 4.031 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1452, allocations: 191.2 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.1453, allocations: 116.8 kB / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1453, allocations: 0 / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.1454, allocations: 4 kB / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.1454, allocations: 3.984 kB / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1454, allocations: 0 / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007077/0.1461, allocations: 0.6629 MB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1461, allocations: 3.938 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1464, allocations: 16 kB / 0.5651 GB, free: 12 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 (2): * Single equations (assignments): 2 * 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.001784/0.1481, allocations: 0.9771 MB / 0.5661 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1483, allocations: 23.97 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1483, allocations: 4 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.435e-05/0.1484, allocations: 16 kB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1488, allocations: 30.3 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.1528, allocations: 3.183 MB / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.1533, allocations: 0.8221 MB / 0.5701 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.04e-05/0.1534, allocations: 15.73 kB / 0.5701 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.1535, allocations: 115.4 kB / 0.5702 GB, free: 6.793 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1535, allocations: 0 / 0.5702 GB, free: 6.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.1845, allocations: 5.84 MB / 0.5759 GB, free: 1.008 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/8.683, allocations: 7.297 kB / 0.5759 GB, free: 1.004 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.80971674527973] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'const.y', 'clock.y'] 8.809923854656518 8.830756631 8.688626042 Calling exit ...