Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001785/0.001785, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002187/0.002187, allocations: 205 kB / 21.45 MB, free: 1.629 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.475/1.475, 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.2274/0.2274, allocations: 46.93 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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test28",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.002372/0.002372, allocations: 79.88 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1239, allocations: 66.05 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003015/0.1269, allocations: 1.681 MB / 0.5578 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1279, allocations: 0.5878 MB / 0.5584 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.128, allocations: 4 kB / 0.5584 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.1282, allocations: 67.72 kB / 0.5585 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1285, allocations: 91.66 kB / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1289, allocations: 175.2 kB / 0.5587 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1291, allocations: 87.75 kB / 0.5588 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1292, allocations: 24.16 kB / 0.5588 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.526e-05/0.1292, allocations: 43.89 kB / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.969e-05/0.1293, allocations: 51.75 kB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1294, allocations: 4 kB / 0.5589 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1295, allocations: 51.98 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.1295, allocations: 23.92 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.1296, allocations: 39.72 kB / 0.559 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1298, allocations: 123.4 kB / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1298, allocations: 0 / 0.5592 GB, free: 2.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1298, allocations: 7.938 kB / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1298, allocations: 0 / 0.5592 GB, free: 2.469 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.0005581/0.1303, allocations: 430.7 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1304, allocations: 12.03 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.1304, allocations: 34.75 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1305, allocations: 8.891 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1307, allocations: 208.8 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.1307, allocations: 4.312 kB / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1307, allocations: 12.36 kB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1309, allocations: 66.23 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1309, allocations: 3.938 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.1309, allocations: 0 / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1309, allocations: 0 / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.131, allocations: 43.95 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.1315, allocations: 344.6 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1318, allocations: 54.55 kB / 0.5603 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.1318, allocations: 32.98 kB / 0.5604 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1319, allocations: 0 / 0.5604 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1319, allocations: 30.56 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.1319, allocations: 4 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001568/0.1334, allocations: 424.9 kB / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1335, allocations: 55.41 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1337, allocations: 202.3 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1337, allocations: 29.7 kB / 0.5611 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.1338, allocations: 112.1 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1338, allocations: 35.69 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.1339, allocations: 25.72 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1341, allocations: 322.8 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1342, allocations: 60.45 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1343, allocations: 55.97 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.1346, allocations: 128.7 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1346, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003624/0.135, allocations: 165.5 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.135, allocations: 11.98 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.135, allocations: 4 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.135, allocations: 4 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1352, allocations: 27.92 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1352, allocations: 7.875 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.1352, allocations: 11.98 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1353, allocations: 4 kB / 0.562 GB, free: 15.32 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.0001067/0.1354, allocations: 125.8 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1354, allocations: 15.91 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/0.1358, allocations: 191 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1358, allocations: 0 / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1358, allocations: 3.938 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1359, allocations: 7.984 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.1366, allocations: 0.5 MB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1366, allocations: 11.88 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1367, allocations: 27.92 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1367, allocations: 0 / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1367, allocations: 8 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1367, allocations: 0 / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1367, allocations: 0 / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.1371, allocations: 273.2 kB / 0.5631 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.1372, allocations: 100.9 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1372, allocations: 8 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1373, allocations: 7.984 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1374, allocations: 11.98 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1374, allocations: 4 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1375, allocations: 160.2 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1375, allocations: 0 / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1378, allocations: 20 kB / 0.5634 GB, free: 13.73 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.002278/0.1401, allocations: 1.174 MB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1405, allocations: 123.8 kB / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1405, allocations: 0 / 0.5647 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1406, allocations: 68.02 kB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.141, allocations: 23.98 kB / 0.5648 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.1435, allocations: 1.932 MB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1439, allocations: 0.7158 MB / 0.5674 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.282e-05/0.144, allocations: 32.53 kB / 0.5674 GB, free: 9.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.1441, allocations: 39.42 kB / 0.5674 GB, free: 9.648 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1441, allocations: 0 / 0.5674 GB, free: 9.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.1688, allocations: 3.584 MB / 0.5709 GB, free: 6.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.293, allocations: 7.984 kB / 0.5709 GB, free: 6.125 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28_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_CombiTable2Dv_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.413031365722418] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.413748430088162 8.44336064 8.308454769 Calling exit ...