Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001596/0.001596, allocations: 118.2 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.001349/0.001349, allocations: 219.3 kB / 21.41 MB, free: 1.637 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.47/1.47, allocations: 227.4 MB / 251.7 MB, free: 80 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.2409/0.2409, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",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.002322/0.002322, allocations: 78.44 kB / 489.7 MB, free: 28.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1302, allocations: 62.45 MB / 0.5392 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003554/0.1338, allocations: 2.038 MB / 0.5412 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1358, allocations: 1.141 MB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.136, allocations: 0 / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.1365, allocations: 263.1 kB / 0.5425 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.137, allocations: 263 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1385, allocations: 0.6437 MB / 0.5434 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.1389, allocations: 354.9 kB / 0.5437 GB, free: 80 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.1392, allocations: 88.66 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.1394, allocations: 151.3 kB / 0.544 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.1396, allocations: 199.3 kB / 0.5442 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.1397, allocations: 12 kB / 0.5442 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1399, allocations: 79.91 kB / 0.5443 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.14, allocations: 95.69 kB / 0.5443 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1402, allocations: 134.9 kB / 0.5445 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.1407, allocations: 354.2 kB / 0.5448 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1407, allocations: 0 / 0.5448 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1407, allocations: 0 / 0.5448 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1407, allocations: 0 / 0.5448 GB, free: 14.98 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008892/0.1416, allocations: 0.7112 MB / 0.5455 GB, free: 14.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1416, allocations: 12.03 kB / 0.5455 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1417, allocations: 38.75 kB / 0.5456 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.1418, allocations: 44.66 kB / 0.5456 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.1422, allocations: 350.4 kB / 0.5459 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1422, allocations: 12.38 kB / 0.5459 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1422, allocations: 12.31 kB / 0.546 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.1425, allocations: 130.1 kB / 0.5461 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.1426, allocations: 7.891 kB / 0.5461 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1426, allocations: 7.938 kB / 0.5461 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1426, allocations: 4 kB / 0.5461 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1428, allocations: 91.88 kB / 0.5462 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.1436, allocations: 0.5199 MB / 0.5467 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1438, allocations: 110.5 kB / 0.5468 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.1439, allocations: 36.84 kB / 0.5468 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1439, allocations: 3.984 kB / 0.5468 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1439, allocations: 42.5 kB / 0.5469 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.1439, allocations: 4 kB / 0.5469 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001051/0.145, allocations: 466.6 kB / 0.5473 GB, free: 12.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1451, allocations: 51.41 kB / 0.5474 GB, free: 12.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/0.1457, allocations: 0.6034 MB / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1458, allocations: 25.7 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.146, allocations: 216.4 kB / 0.5482 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.146, allocations: 67.44 kB / 0.5483 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.1461, allocations: 33.7 kB / 0.5483 GB, free: 11.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1463, allocations: 350.8 kB / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1464, allocations: 67.95 kB / 0.5487 GB, free: 10.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1466, allocations: 67.95 kB / 0.5488 GB, free: 10.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1469, allocations: 154.5 kB / 0.5489 GB, free: 10.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1469, allocations: 4 kB / 0.5489 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004105/0.1473, allocations: 237.1 kB / 0.5491 GB, free: 10.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1473, allocations: 5.875 kB / 0.5491 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1473, allocations: 0 / 0.5491 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1473, allocations: 4 kB / 0.5491 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1475, allocations: 35.97 kB / 0.5492 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1475, allocations: 4 kB / 0.5492 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.1476, allocations: 4 kB / 0.5492 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1476, allocations: 12 kB / 0.5492 GB, free: 10.25 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 (17): * Single equations (assignments): 17 * 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.0001867/0.1478, allocations: 181.7 kB / 0.5494 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.1479, allocations: 51.61 kB / 0.5494 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.1485, allocations: 277.8 kB / 0.5497 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1485, allocations: 0 / 0.5497 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1485, allocations: 0 / 0.5497 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1485, allocations: 3.984 kB / 0.5497 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/0.1495, allocations: 0.7104 MB / 0.5504 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.1495, allocations: 3.984 kB / 0.5504 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.1496, allocations: 35.92 kB / 0.5504 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1496, allocations: 0 / 0.5504 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1496, allocations: 4 kB / 0.5504 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1496, allocations: 4 kB / 0.5504 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1496, allocations: 0 / 0.5504 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.1501, allocations: 347 kB / 0.5508 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.1502, allocations: 116.8 kB / 0.5509 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.1503, allocations: 4 kB / 0.5509 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1504, allocations: 11.98 kB / 0.5509 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.1504, allocations: 11.92 kB / 0.5509 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1505, allocations: 12 kB / 0.5509 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004755/0.1509, allocations: 450.8 kB / 0.5513 GB, free: 7.941 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1509, allocations: 0 / 0.5513 GB, free: 7.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1513, allocations: 51.94 kB / 0.5514 GB, free: 7.891 MB / 414.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 (17): * Single equations (assignments): 17 * 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.003296/0.1546, allocations: 1.46 MB / 0.5528 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.155, allocations: 166.6 kB / 0.553 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.155, allocations: 0 / 0.553 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1551, allocations: 91.89 kB / 0.5531 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.1557, allocations: 80.84 kB / 0.5531 GB, free: 6.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.1599, allocations: 3.353 MB / 0.5564 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1603, allocations: 0.826 MB / 0.5572 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1605, allocations: 58.23 kB / 0.5573 GB, free: 2.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.1607, allocations: 147.2 kB / 0.5574 GB, free: 1.902 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1607, allocations: 0 / 0.5574 GB, free: 1.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.191, allocations: 7.899 MB / 0.5651 GB, free: 10.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.399, allocations: 7.25 kB / 0.5651 GB, free: 10.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.520448427065276] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 8.519890582072549 8.53442774 8.391148135 Calling exit ...