Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001353/0.001353, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.001446/0.001446, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.484/1.484, 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.2273/0.2273, 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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test18",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.002238/0.002238, allocations: 83.86 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1314, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003932/0.1353, allocations: 1.622 MB / 0.5578 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.1373, allocations: 1.175 MB / 0.5589 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.1373, allocations: 0 / 0.5589 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1376, allocations: 23.84 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1378, allocations: 87.62 kB / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1381, allocations: 95.31 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1383, allocations: 75.77 kB / 0.5592 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1384, allocations: 15.98 kB / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.1384, allocations: 31.86 kB / 0.5592 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.1389, allocations: 43.77 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1389, allocations: 4 kB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1391, allocations: 99.92 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1391, allocations: 15.94 kB / 0.5594 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1392, allocations: 35.8 kB / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.1394, allocations: 143.5 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1394, allocations: 3.938 kB / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1394, allocations: 0 / 0.5596 GB, free: 2.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1394, allocations: 0 / 0.5596 GB, free: 2.098 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005779/0.14, allocations: 414.7 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.14, allocations: 15.97 kB / 0.56 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.1401, allocations: 34.75 kB / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1401, allocations: 8.891 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1404, allocations: 200.2 kB / 0.5602 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1404, allocations: 4.375 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1404, allocations: 8.359 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1406, allocations: 71.94 kB / 0.5603 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1406, allocations: 3.938 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1406, allocations: 0 / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1406, allocations: 4 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1407, allocations: 31.97 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1411, allocations: 308.7 kB / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1413, allocations: 50.48 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.1413, allocations: 16.98 kB / 0.5607 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1413, allocations: 7.984 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1414, allocations: 34.56 kB / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.1414, allocations: 0 / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006426/0.142, allocations: 177.5 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.1421, allocations: 85.05 kB / 0.561 GB, free: 456 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1422, allocations: 151.6 kB / 0.5611 GB, free: 296 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1423, allocations: 33.7 kB / 0.5611 GB, free: 256 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.1423, allocations: 104.1 kB / 0.5612 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1424, allocations: 19.81 kB / 0.5613 GB, free: 128 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1424, allocations: 29.7 kB / 0.5613 GB, free: 92 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1426, allocations: 326.8 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.1427, allocations: 19.98 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.1427, allocations: 37.7 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.1429, allocations: 64.86 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1429, allocations: 0 / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002278/0.1431, allocations: 105.5 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1431, allocations: 4 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1431, allocations: 384 / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1432, allocations: 0 / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1433, allocations: 19.98 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1433, allocations: 0 / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.1433, allocations: 19.94 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1433, allocations: 3.938 kB / 0.5619 GB, free: 15.48 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 9.662e-05/0.1434, allocations: 117.8 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1435, allocations: 7.953 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.1438, allocations: 122.6 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1438, allocations: 4 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1438, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1438, allocations: 7.938 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.1443, allocations: 390.4 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1443, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.1444, allocations: 23.92 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1444, allocations: 3.938 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1444, allocations: 3.938 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1444, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1444, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.1447, allocations: 195.5 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.1447, allocations: 89.05 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1447, allocations: 3.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.1448, allocations: 4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1448, allocations: 11.98 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1449, allocations: 0 / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.145, allocations: 121.1 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.145, allocations: 3.938 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1453, allocations: 39.86 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: 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 (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.002218/0.1475, allocations: 1.113 MB / 0.5641 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1477, allocations: 75.81 kB / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1477, allocations: 0 / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.1478, allocations: 27.98 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.0003547/0.1482, allocations: 19.98 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.001882/0.1501, allocations: 1.495 MB / 0.5656 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1504, allocations: 0.7001 MB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.885e-05/0.1504, allocations: 20.72 kB / 0.5663 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.1505, allocations: 35.42 kB / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1505, allocations: 0 / 0.5664 GB, free: 10.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1776, allocations: 3.434 MB / 0.5697 GB, free: 7.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.199, allocations: 14.2 kB / 0.5697 GB, free: 7.367 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18_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_CombiTable1Ds_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.34021442802623] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y'] 8.322763134725392 8.348591035 8.20484187 Calling exit ...