Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001737/0.001737, 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.002082/0.002082, 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.594/1.594, 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.2363/0.2363, 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21",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.002259/0.002259, allocations: 79.86 kB / 0.4917 GB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1214, allocations: 66.05 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003481/0.1249, allocations: 1.602 MB / 0.5577 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1267, allocations: 1.171 MB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.1267, allocations: 0 / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.127, allocations: 19.84 kB / 0.5589 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.1273, allocations: 87.61 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1276, allocations: 94.58 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1278, allocations: 63.77 kB / 0.5591 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1279, allocations: 8 kB / 0.5592 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.1279, allocations: 31.91 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1281, allocations: 35.84 kB / 0.5592 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1281, allocations: 4 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.1283, allocations: 103.9 kB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1284, allocations: 15.92 kB / 0.5593 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1284, allocations: 27.8 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1287, allocations: 127.5 kB / 0.5595 GB, free: 2.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1287, allocations: 4 kB / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1287, allocations: 0 / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1287, allocations: 3.938 kB / 0.5595 GB, free: 2.148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005945/0.1293, allocations: 406.8 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1294, allocations: 8.031 kB / 0.5599 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1294, allocations: 38.73 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.1294, allocations: 4.891 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1297, allocations: 204.2 kB / 0.5601 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1297, allocations: 384 / 0.5601 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1297, allocations: 384 / 0.5601 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1299, allocations: 67.91 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1299, allocations: 11.94 kB / 0.5602 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1299, allocations: 3.938 kB / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1299, allocations: 0 / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.13, allocations: 23.97 kB / 0.5602 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1304, allocations: 272.9 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1306, allocations: 46.48 kB / 0.5605 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.1307, allocations: 20.94 kB / 0.5605 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1307, allocations: 4 kB / 0.5606 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1307, allocations: 30.56 kB / 0.5606 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1307, allocations: 0 / 0.5606 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005974/0.1313, allocations: 137.4 kB / 0.5607 GB, free: 0.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.1314, allocations: 85.09 kB / 0.5608 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1315, allocations: 148 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1316, allocations: 25.7 kB / 0.561 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.1316, allocations: 92.14 kB / 0.561 GB, free: 336 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1316, allocations: 23.78 kB / 0.5611 GB, free: 312 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1317, allocations: 17.72 kB / 0.5611 GB, free: 288 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1318, allocations: 322.8 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.1319, allocations: 27.92 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.132, allocations: 29.7 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1321, allocations: 44.83 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1321, allocations: 3.938 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001947/0.1323, allocations: 81.62 kB / 0.5616 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1323, allocations: 4 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1323, allocations: 4.031 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1324, allocations: 0 / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.1324, allocations: 15.98 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1324, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.1325, allocations: 4 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1325, allocations: 3.984 kB / 0.5616 GB, free: 15.73 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 (5): * Single equations (assignments): 5 * 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.044e-05/0.1326, allocations: 117.8 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1326, allocations: 7.953 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1329, allocations: 94.16 kB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1329, allocations: 64 / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1329, allocations: 4 kB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1329, allocations: 0 / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1333, allocations: 366.4 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1333, allocations: 0 / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.1334, allocations: 12 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1334, allocations: 4 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1334, allocations: 0 / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1334, allocations: 3.984 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1334, allocations: 3.938 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1336, allocations: 179.4 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.1337, allocations: 81.06 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1337, allocations: 3.984 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1338, allocations: 8 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1338, allocations: 11.94 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1338, allocations: 0 / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1339, allocations: 117.3 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1339, allocations: 3.938 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1342, allocations: 43.8 kB / 0.5626 GB, free: 14.58 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 (5): * Single equations (assignments): 5 * 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.002162/0.1364, allocations: 1.082 MB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.1366, allocations: 47.91 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1366, allocations: 0 / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.1367, allocations: 23.98 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.137, allocations: 23.86 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1388, allocations: 1.432 MB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1391, allocations: 0.6923 MB / 0.5658 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.1392, allocations: 11.78 kB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.1392, allocations: 39.41 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1393, allocations: 0 / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.1651, allocations: 3.233 MB / 0.569 GB, free: 8.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.356, allocations: 21.31 kB / 0.5691 GB, free: 8.039 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.529972553718835] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.475647817831486 8.489802119 8.358231203 Calling exit ...