Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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: 121.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.002147/0.002147, allocations: 206.6 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.516/1.516, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2314/0.2314, 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.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test27",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.002288/0.002288, allocations: 83.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003102/0.1302, allocations: 1.618 MB / 0.5578 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1313, allocations: 0.5527 MB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.1313, allocations: 8 kB / 0.5583 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1316, allocations: 123.7 kB / 0.5584 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.132, allocations: 123.5 kB / 0.5586 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.1323, allocations: 110.8 kB / 0.5587 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.1324, allocations: 103.7 kB / 0.5588 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.1325, allocations: 11.98 kB / 0.5588 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.1326, allocations: 55.77 kB / 0.5588 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1327, allocations: 95.75 kB / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1327, allocations: 0 / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.1328, allocations: 47.98 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.1329, allocations: 23.92 kB / 0.559 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.1329, allocations: 39.67 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1332, allocations: 131.3 kB / 0.5591 GB, free: 2.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1332, allocations: 0 / 0.5591 GB, free: 2.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1332, allocations: 4 kB / 0.5591 GB, free: 2.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1332, allocations: 4 kB / 0.5592 GB, free: 2.504 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.0005563/0.1337, allocations: 438.5 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1338, allocations: 15.97 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.1338, allocations: 34.75 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.1339, allocations: 16.84 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.1341, allocations: 207.9 kB / 0.5598 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1341, allocations: 4.375 kB / 0.5598 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1341, allocations: 384 / 0.5598 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1342, allocations: 70.14 kB / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1343, allocations: 7.938 kB / 0.5599 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1343, allocations: 0 / 0.5599 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1343, allocations: 0 / 0.5599 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.1344, allocations: 27.97 kB / 0.5599 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1348, allocations: 304.8 kB / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.135, allocations: 50.5 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.1351, allocations: 28.86 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.1351, allocations: 0 / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1351, allocations: 30.56 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1351, allocations: 0 / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009583/0.1361, allocations: 253.1 kB / 0.5606 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1361, allocations: 51.48 kB / 0.5606 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1364, allocations: 279.8 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1364, allocations: 25.7 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1365, allocations: 116.1 kB / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.1365, allocations: 27.75 kB / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.1366, allocations: 29.7 kB / 0.5611 GB, free: 308 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1367, allocations: 330.8 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.1368, allocations: 35.91 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.1369, allocations: 23.98 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.1371, allocations: 72.81 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1371, allocations: 4 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002441/0.1373, allocations: 117.6 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1373, allocations: 5.875 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1373, allocations: 0 / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1374, allocations: 0 / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1375, allocations: 23.92 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1375, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1375, allocations: 7.984 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1375, allocations: 3.938 kB / 0.5617 GB, free: 15.67 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.0001108/0.1376, allocations: 137.8 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.1377, allocations: 15.91 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.138, allocations: 139.3 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.138, allocations: 4 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.138, allocations: 4 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.138, allocations: 3.938 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.1386, allocations: 439.1 kB / 0.5624 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1386, allocations: 3.938 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.1387, allocations: 19.98 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1387, allocations: 0 / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1387, allocations: 3.938 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1387, allocations: 4 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1387, allocations: 0 / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.139, allocations: 220.2 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.1391, allocations: 89.02 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1391, allocations: 11.94 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1392, allocations: 3.984 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1392, allocations: 4 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1392, allocations: 4 kB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1394, allocations: 213.5 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1394, allocations: 4 kB / 0.5629 GB, free: 14.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1397, allocations: 23.94 kB / 0.563 GB, free: 14.24 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.002191/0.1419, allocations: 1.102 MB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1421, allocations: 71.95 kB / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1421, allocations: 0 / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1422, allocations: 43.89 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1426, allocations: 19.78 kB / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.1449, allocations: 1.856 MB / 0.566 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.1452, allocations: 0.7158 MB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.674e-05/0.1453, allocations: 16.66 kB / 0.5667 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.1454, allocations: 47.41 kB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1454, allocations: 3.938 kB / 0.5667 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1702, allocations: 3.475 MB / 0.5701 GB, free: 6.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.092, allocations: 17.69 kB / 0.5702 GB, free: 6.957 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_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_CombiTable1Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.220303978770971] 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.212143865879625 8.228424814 8.091883526 Calling exit ...