Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001271/0.001271, allocations: 122 kB / 18.46 MB, free: 4.59 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.001315/0.001315, allocations: 211.3 kB / 21.41 MB, free: 1.641 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.528/1.528, allocations: 227.4 MB / 251.7 MB, free: 56 kB / 190.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.225/0.225, allocations: 46.14 MB / 351.1 MB, free: 14.33 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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16",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.002299/0.002299, allocations: 83.77 kB / 489.7 MB, free: 28.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 62.45 MB / 0.5392 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003165/0.1387, allocations: 1.613 MB / 0.5408 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1398, allocations: 0.5294 MB / 0.5413 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.1399, allocations: 3.938 kB / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1402, allocations: 79.7 kB / 0.5414 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1405, allocations: 103.6 kB / 0.5415 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1408, allocations: 95.62 kB / 0.5416 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.141, allocations: 83.81 kB / 0.5416 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1411, allocations: 19.92 kB / 0.5417 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.301e-05/0.1412, allocations: 39.89 kB / 0.5417 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1413, allocations: 51.83 kB / 0.5417 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.1413, allocations: 4 kB / 0.5417 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.1414, allocations: 55.84 kB / 0.5418 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.1415, allocations: 15.94 kB / 0.5418 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.1415, allocations: 31.73 kB / 0.5418 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1417, allocations: 103.6 kB / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1417, allocations: 0 / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1418, allocations: 0 / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1418, allocations: 0 / 0.5419 GB, free: 1.93 MB / 398.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.0005317/0.1423, allocations: 418.7 kB / 0.5423 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1423, allocations: 12.03 kB / 0.5424 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.1424, allocations: 38.69 kB / 0.5424 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1424, allocations: 16.84 kB / 0.5424 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1427, allocations: 208.8 kB / 0.5426 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1427, allocations: 4.375 kB / 0.5426 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1427, allocations: 384 / 0.5426 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1429, allocations: 54.23 kB / 0.5427 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1429, allocations: 3.938 kB / 0.5427 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1429, allocations: 8 kB / 0.5427 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1429, allocations: 0 / 0.5427 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.143, allocations: 31.91 kB / 0.5427 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1434, allocations: 284.8 kB / 0.543 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1435, allocations: 42.56 kB / 0.543 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.1436, allocations: 20.86 kB / 0.543 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1436, allocations: 8.141 kB / 0.543 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1437, allocations: 42.48 kB / 0.5431 GB, free: 0.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1437, allocations: 0 / 0.5431 GB, free: 0.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009095/0.1446, allocations: 229.2 kB / 0.5433 GB, free: 360 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1447, allocations: 51.41 kB / 0.5434 GB, free: 296 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1449, allocations: 206.4 kB / 0.5436 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1449, allocations: 25.7 kB / 0.5436 GB, free: 48 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.145, allocations: 112.1 kB / 0.5437 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.145, allocations: 31.73 kB / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1451, allocations: 17.72 kB / 0.5437 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1452, allocations: 330.8 kB / 0.544 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.1453, allocations: 23.98 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.1454, allocations: 31.91 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1456, allocations: 56.84 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1456, allocations: 0 / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.1458, allocations: 109.5 kB / 0.5443 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1458, allocations: 8 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1458, allocations: 0 / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1459, allocations: 0 / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.146, allocations: 19.98 kB / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.146, allocations: 3.938 kB / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.146, allocations: 7.984 kB / 0.5443 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.146, allocations: 3.938 kB / 0.5443 GB, free: 15.28 MB / 414.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.0001002/0.1462, allocations: 125.8 kB / 0.5444 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-05/0.1462, allocations: 15.91 kB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.1465, allocations: 115 kB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1465, allocations: 4 kB / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1465, allocations: 0 / 0.5445 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1465, allocations: 3.984 kB / 0.5446 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.1471, allocations: 411.6 kB / 0.5449 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1471, allocations: 8.031 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.1471, allocations: 15.98 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1472, allocations: 4 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1472, allocations: 3.938 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1472, allocations: 0 / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1472, allocations: 3.938 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1475, allocations: 204.4 kB / 0.5452 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.1475, allocations: 93.02 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1476, allocations: 7.938 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1476, allocations: 0 / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1477, allocations: 7.984 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1477, allocations: 4 kB / 0.5453 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1479, allocations: 169.5 kB / 0.5454 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1479, allocations: 0 / 0.5454 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1481, allocations: 27.92 kB / 0.5455 GB, free: 13.96 MB / 414.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.002242/0.1504, allocations: 1.091 MB / 0.5465 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1506, allocations: 63.91 kB / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1506, allocations: 0 / 0.5466 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.1507, allocations: 31.97 kB / 0.5466 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1511, allocations: 26.81 kB / 0.5467 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1532, allocations: 1.676 MB / 0.5483 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1536, allocations: 0.712 MB / 0.549 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.1537, allocations: 16.95 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1537, allocations: 27.44 kB / 0.549 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1537, allocations: 0 / 0.549 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.1782, allocations: 3.109 MB / 0.5521 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.04, allocations: 15.05 kB / 0.5521 GB, free: 7.34 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.282916584052145] 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.161173564032651 8.181707496 8.036349815 Calling exit ...