Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.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.00171/0.00171, allocations: 117.9 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.002057/0.002057, allocations: 214.5 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.507/1.507, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2302/0.2302, allocations: 46.94 MB / 357.7 MB, free: 10.18 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31",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.002308/0.002308, allocations: 83.86 kB / 0.4917 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1357, allocations: 66.04 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003003/0.1387, allocations: 1.626 MB / 0.5578 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1397, allocations: 0.545 MB / 0.5583 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.1398, allocations: 4 kB / 0.5583 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1401, allocations: 119.7 kB / 0.5584 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.1404, allocations: 127.5 kB / 0.5585 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1407, allocations: 95.12 kB / 0.5586 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1408, allocations: 99.73 kB / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.1409, allocations: 11.98 kB / 0.5587 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.141, allocations: 55.75 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1411, allocations: 91.77 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1412, allocations: 4 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.1413, allocations: 47.97 kB / 0.5589 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.1413, allocations: 23.92 kB / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.1413, allocations: 39.69 kB / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1416, allocations: 131.3 kB / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1416, allocations: 0 / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1416, allocations: 0 / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1416, allocations: 0 / 0.5591 GB, free: 2.48 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.0005475/0.1421, allocations: 442.5 kB / 0.5595 GB, free: 1.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1422, allocations: 8.031 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1422, allocations: 34.75 kB / 0.5596 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1422, allocations: 16.84 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1424, allocations: 215.8 kB / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.1425, allocations: 384 / 0.5598 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1425, allocations: 4.375 kB / 0.5598 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1426, allocations: 58.17 kB / 0.5599 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1426, allocations: 3.938 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1426, allocations: 4 kB / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1426, allocations: 0 / 0.5599 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.1427, allocations: 23.98 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.1431, allocations: 304.8 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1432, allocations: 50.42 kB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.1433, allocations: 20.94 kB / 0.5603 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1433, allocations: 3.938 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1433, allocations: 38.56 kB / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1433, allocations: 0 / 0.5603 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009002/0.1442, allocations: 229.1 kB / 0.5605 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1443, allocations: 55.41 kB / 0.5606 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1446, allocations: 283.8 kB / 0.5608 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1446, allocations: 25.7 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.1447, allocations: 112.1 kB / 0.561 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1447, allocations: 23.75 kB / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1447, allocations: 25.7 kB / 0.561 GB, free: 320 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1449, allocations: 334.8 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.145, allocations: 23.98 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.1451, allocations: 24 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1452, allocations: 64.81 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1452, allocations: 0 / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.1455, allocations: 105.8 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1455, allocations: 8 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1455, allocations: 80 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1455, allocations: 4 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1456, allocations: 15.98 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1456, allocations: 7.922 kB / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.1456, allocations: 4 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1457, allocations: 11.94 kB / 0.5616 GB, free: 15.7 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.0001105/0.1458, allocations: 129.8 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1458, allocations: 19.91 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.1461, allocations: 115 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1461, allocations: 3.984 kB / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1461, allocations: 4 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1461, allocations: 0 / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.1467, allocations: 423.1 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1467, allocations: 4.031 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.1467, allocations: 19.92 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1467, allocations: 4 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1468, allocations: 7.938 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1468, allocations: 0 / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1468, allocations: 0 / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.147, allocations: 212.3 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.1471, allocations: 93 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1471, allocations: 7.875 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.1472, allocations: 8 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.1472, allocations: 7.984 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1472, allocations: 0 / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1474, allocations: 209.5 kB / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1474, allocations: 0 / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1477, allocations: 31.92 kB / 0.5628 GB, free: 14.32 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.00213/0.1498, allocations: 1.087 MB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.15, allocations: 59.95 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.15, allocations: 7.938 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/0.1501, allocations: 35.91 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1505, allocations: 23.84 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1526, allocations: 1.801 MB / 0.5658 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.153, allocations: 0.7236 MB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.153, allocations: 8.656 kB / 0.5665 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.1531, allocations: 39.42 kB / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1531, allocations: 0 / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.1776, allocations: 3.427 MB / 0.5699 GB, free: 7.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.178, allocations: 14.3 kB / 0.5699 GB, free: 7.172 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.328753396868706] 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.306077278684825 8.320749805 8.176257428 Calling exit ...