Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001729/0.001729, allocations: 123.6 kB / 18.45 MB, free: 4.633 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.002038/0.002038, allocations: 205.7 kB / 21.41 MB, free: 1.684 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.565/1.565, allocations: 227.4 MB / 251.7 MB, free: 84 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.2453/0.2453, allocations: 46.16 MB / 351.1 MB, free: 14.4 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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",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.002254/0.002254, allocations: 81.86 kB / 489.7 MB, free: 28.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1259, allocations: 62.46 MB / 0.5392 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003489/0.1294, allocations: 2.098 MB / 0.5412 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1317, allocations: 1.395 MB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1319, allocations: 4 kB / 0.5426 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1322, allocations: 59.5 kB / 0.5427 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.1327, allocations: 227 kB / 0.5429 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.134, allocations: 0.6113 MB / 0.5435 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.1344, allocations: 358.9 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.1346, allocations: 80.64 kB / 0.5439 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.1349, allocations: 147.4 kB / 0.544 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.1351, allocations: 207.2 kB / 0.5442 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.1352, allocations: 16 kB / 0.5442 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1354, allocations: 63.98 kB / 0.5443 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1355, allocations: 151.5 kB / 0.5445 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1357, allocations: 186.5 kB / 0.5446 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.1362, allocations: 449.8 kB / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1362, allocations: 0 / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1362, allocations: 0 / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1362, allocations: 0 / 0.5451 GB, free: 14.73 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001164/0.1374, allocations: 0.8626 MB / 0.5459 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1375, allocations: 8.031 kB / 0.5459 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1375, allocations: 46.69 kB / 0.546 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.138, allocations: 100.5 kB / 0.546 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.1387, allocations: 0.4893 MB / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.1387, allocations: 8.375 kB / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.1387, allocations: 12.38 kB / 0.5465 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.1391, allocations: 167.2 kB / 0.5467 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1391, allocations: 4 kB / 0.5467 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1391, allocations: 8 kB / 0.5467 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1391, allocations: 0 / 0.5467 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1395, allocations: 115.9 kB / 0.5468 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1405, allocations: 0.7347 MB / 0.5475 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1409, allocations: 137.1 kB / 0.5477 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.141, allocations: 61.81 kB / 0.5477 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1411, allocations: 8 kB / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1411, allocations: 38.55 kB / 0.5478 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1411, allocations: 3.938 kB / 0.5478 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002136/0.1432, allocations: 0.7729 MB / 0.5485 GB, free: 10.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1433, allocations: 77.11 kB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1444, allocations: 0.9299 MB / 0.5495 GB, free: 9.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1444, allocations: 33.7 kB / 0.5496 GB, free: 9.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.1447, allocations: 284.5 kB / 0.5498 GB, free: 9.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.1448, allocations: 75.36 kB / 0.5499 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.1449, allocations: 45.64 kB / 0.5499 GB, free: 9.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.145, allocations: 310 kB / 0.5502 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.1453, allocations: 111.9 kB / 0.5503 GB, free: 9.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.1456, allocations: 132.4 kB / 0.5505 GB, free: 8.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.1462, allocations: 253.5 kB / 0.5507 GB, free: 8.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1463, allocations: 3.938 kB / 0.5507 GB, free: 8.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000769/0.147, allocations: 345 kB / 0.551 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1471, allocations: 4 kB / 0.551 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1471, allocations: 8 kB / 0.5511 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1471, allocations: 0 / 0.5511 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.1474, allocations: 56.08 kB / 0.5511 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1474, allocations: 0 / 0.5511 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1476, allocations: 27.91 kB / 0.5511 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1476, allocations: 4 kB / 0.5511 GB, free: 8.223 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002437/0.1479, allocations: 225.6 kB / 0.5514 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.148, allocations: 71.52 kB / 0.5514 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.1489, allocations: 394.6 kB / 0.5518 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1489, allocations: 4 kB / 0.5518 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1489, allocations: 0 / 0.5518 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.149, allocations: 7.984 kB / 0.5518 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.1505, allocations: 0.9659 MB / 0.5528 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1505, allocations: 0 / 0.5528 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1507, allocations: 55.94 kB / 0.5528 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1508, allocations: 4 kB / 0.5528 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1508, allocations: 4.188 kB / 0.5528 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.1508, allocations: 8 kB / 0.5528 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1508, allocations: 3.938 kB / 0.5528 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.1517, allocations: 0.5181 MB / 0.5533 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.1518, allocations: 156.7 kB / 0.5535 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.1519, allocations: 4 kB / 0.5535 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.1522, allocations: 23.91 kB / 0.5535 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.1522, allocations: 19.92 kB / 0.5535 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.1523, allocations: 19.98 kB / 0.5535 GB, free: 5.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007765/0.1531, allocations: 0.6786 MB / 0.5542 GB, free: 4.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 0 / 0.5542 GB, free: 4.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.1534, allocations: 63.94 kB / 0.5543 GB, free: 4.91 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 (20): * Single equations (assignments): 20 * 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.002576/0.156, allocations: 1.349 MB / 0.5556 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.1568, allocations: 259.7 kB / 0.5558 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1568, allocations: 4 kB / 0.5558 GB, free: 3.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.1571, allocations: 143.8 kB / 0.556 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.1578, allocations: 85.56 kB / 0.5561 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.1653, allocations: 5.522 MB / 0.5614 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.1659, allocations: 0.8911 MB / 0.5623 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.1662, allocations: 107.2 kB / 0.5624 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.1665, allocations: 187.4 kB / 0.5626 GB, free: 12.37 MB / 430.1 MB Notification: Performance of SimCode: time 2.986e-06/0.1665, allocations: 4 kB / 0.5626 GB, free: 12.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.2024, allocations: 10.72 MB / 0.5731 GB, free: 1.738 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/8.823, allocations: 17.03 kB / 0.5731 GB, free: 1.727 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.060425727046095] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 8.949044293025509 8.97378965 8.833310206 Calling exit ...