Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001689/0.001689, allocations: 120 kB / 18.5 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.002038/0.002038, allocations: 213.6 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.466/1.466, allocations: 230.4 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.2261/0.2261, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",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.002322/0.002322, allocations: 84.14 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1376, allocations: 66.03 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.00364/0.1412, allocations: 1.7 MB / 0.5578 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1423, allocations: 0.5527 MB / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.1424, allocations: 7.938 kB / 0.5584 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1426, allocations: 67.77 kB / 0.5585 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1429, allocations: 103.6 kB / 0.5586 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1433, allocations: 134.6 kB / 0.5587 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1435, allocations: 91.8 kB / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1436, allocations: 16.17 kB / 0.5588 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.1437, allocations: 39.89 kB / 0.5588 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1438, allocations: 59.75 kB / 0.5589 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1438, allocations: 4 kB / 0.5589 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1439, allocations: 51.91 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.144, allocations: 31.91 kB / 0.559 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1441, allocations: 35.75 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1443, allocations: 131.4 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1443, allocations: 0 / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1443, allocations: 0 / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1443, allocations: 0 / 0.5591 GB, free: 2.527 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006379/0.145, allocations: 438.6 kB / 0.5595 GB, free: 2.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.145, allocations: 8.031 kB / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.1451, allocations: 42.73 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.1451, allocations: 20.78 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1453, allocations: 200.2 kB / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1454, allocations: 8.375 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1454, allocations: 384 / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1456, allocations: 66.17 kB / 0.5599 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1456, allocations: 3.938 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1456, allocations: 0 / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1456, allocations: 3.984 kB / 0.5599 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1458, allocations: 43.97 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1462, allocations: 312.8 kB / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1465, allocations: 58.58 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.711e-05/0.1465, allocations: 20.97 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1466, allocations: 8 kB / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1466, allocations: 30.56 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1466, allocations: 0 / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00156/0.1481, allocations: 389 kB / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1482, allocations: 63.34 kB / 0.5608 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.1484, allocations: 226 kB / 0.561 GB, free: 432 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1485, allocations: 33.7 kB / 0.561 GB, free: 392 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.1485, allocations: 112 kB / 0.5611 GB, free: 276 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.1486, allocations: 35.69 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.1486, allocations: 21.72 kB / 0.5612 GB, free: 212 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1488, allocations: 334.8 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1489, allocations: 43.97 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.149, allocations: 43.98 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.1493, allocations: 101.1 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1493, allocations: 0.5625 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003551/0.1497, allocations: 153.4 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1497, allocations: 10.03 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1497, allocations: 0 / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1497, allocations: 3.984 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1498, allocations: 27.98 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1499, allocations: 3.938 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.1499, allocations: 11.98 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1499, allocations: 8 kB / 0.5619 GB, free: 15.46 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 (11): * Single equations (assignments): 11 * 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.0001167/0.1501, allocations: 129.8 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.1501, allocations: 15.91 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.1505, allocations: 159 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1505, allocations: 4 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1505, allocations: 3.938 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1505, allocations: 3.984 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007478/0.1513, allocations: 480 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.1513, allocations: 7.938 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1514, allocations: 23.98 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1514, allocations: 0 / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1514, allocations: 8 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1514, allocations: 4.062 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1514, allocations: 0 / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1518, allocations: 257.1 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.1519, allocations: 104.9 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1519, allocations: 0 / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.152, allocations: 12.08 kB / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.1521, allocations: 11.94 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1521, allocations: 4 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1522, allocations: 172.3 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1522, allocations: 0 / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.1525, allocations: 27.94 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002325/0.1548, allocations: 1.141 MB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1552, allocations: 103.9 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1552, allocations: 4 kB / 0.5645 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1553, allocations: 51.91 kB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1557, allocations: 23.48 kB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1582, allocations: 1.881 MB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1586, allocations: 0.7119 MB / 0.5671 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.1586, allocations: 28.53 kB / 0.5671 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1587, allocations: 47.36 kB / 0.5671 GB, free: 9.973 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1587, allocations: 0 / 0.5671 GB, free: 9.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.183, allocations: 3.519 MB / 0.5706 GB, free: 6.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.316, allocations: 13.42 kB / 0.5706 GB, free: 6.512 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_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_CombiTable2Ds_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.437948177102953] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.439014737959951 8.460658779 8.312318304 Calling exit ...