Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.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.00134/0.00134, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001379/0.001379, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.463/1.463, allocations: 230.4 MB / 254.7 MB, free: 15 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.2401/0.2401, allocations: 46.92 MB / 357.7 MB, free: 10.27 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.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32",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.002255/0.002255, allocations: 79.88 kB / 0.4917 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1357, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test32): time 0.003285/0.139, allocations: 1.665 MB / 0.5578 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.1409, allocations: 1.178 MB / 0.559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.1409, allocations: 4 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1411, allocations: 31.78 kB / 0.559 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1414, allocations: 95.53 kB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1417, allocations: 127 kB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1419, allocations: 71.81 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.142, allocations: 11.98 kB / 0.5593 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.1421, allocations: 35.86 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1422, allocations: 35.83 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1422, allocations: 4 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1424, allocations: 103.9 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.1425, allocations: 19.92 kB / 0.5595 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.1425, allocations: 31.78 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1428, allocations: 151.4 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1428, allocations: 0 / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1428, allocations: 0 / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1428, allocations: 0 / 0.5597 GB, free: 2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006106/0.1434, allocations: 430.7 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1434, allocations: 8.031 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.1435, allocations: 38.75 kB / 0.5601 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.1435, allocations: 8.891 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1438, allocations: 188.2 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1438, allocations: 8.375 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1438, allocations: 8.266 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.144, allocations: 83.88 kB / 0.5604 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.144, allocations: 7.875 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.144, allocations: 3.984 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.144, allocations: 0 / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1442, allocations: 35.97 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.1446, allocations: 292.8 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1447, allocations: 50.5 kB / 0.5608 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.1448, allocations: 20.94 kB / 0.5608 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1448, allocations: 4 kB / 0.5608 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1448, allocations: 30.56 kB / 0.5608 GB, free: 0.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1448, allocations: 0 / 0.5608 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008075/0.1456, allocations: 217.2 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.1457, allocations: 77.11 kB / 0.5611 GB, free: 320 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1459, allocations: 156.4 kB / 0.5612 GB, free: 152 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.1459, allocations: 25.7 kB / 0.5613 GB, free: 120 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.146, allocations: 92.14 kB / 0.5614 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.146, allocations: 35.8 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1461, allocations: 17.66 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1462, allocations: 326.8 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1464, allocations: 31.97 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1465, allocations: 49.62 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.1467, allocations: 80.91 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1467, allocations: 0 / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002988/0.147, allocations: 105.6 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.147, allocations: 6.188 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.147, allocations: 4 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.147, allocations: 4 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1472, allocations: 19.97 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1472, allocations: 4 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/0.1473, allocations: 11.98 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1473, allocations: 7.938 kB / 0.562 GB, free: 15.3 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 (7): * Single equations (assignments): 7 * 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.0001035/0.1474, allocations: 117.8 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1474, allocations: 7.953 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.1478, allocations: 126.6 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1478, allocations: 4 kB / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1478, allocations: 0 / 0.5623 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1478, allocations: 3.984 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.1484, allocations: 398.3 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1484, allocations: 12 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.1485, allocations: 15.98 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1485, allocations: 0 / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1485, allocations: 11.94 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1485, allocations: 3.938 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1485, allocations: 3.984 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.1488, allocations: 211.4 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1489, allocations: 85.05 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1489, allocations: 8 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.149, allocations: 7.938 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1491, allocations: 7.984 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1491, allocations: 0 / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1492, allocations: 125.6 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1492, allocations: 0 / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.1495, allocations: 47.86 kB / 0.5632 GB, free: 14.02 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 (7): * Single equations (assignments): 7 * 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.002275/0.1518, allocations: 1.123 MB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1521, allocations: 75.94 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1521, allocations: 0 / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1522, allocations: 43.91 kB / 0.5644 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1526, allocations: 27.8 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1547, allocations: 1.578 MB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1551, allocations: 0.6924 MB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.443e-05/0.1552, allocations: 24.94 kB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.1553, allocations: 31.42 kB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1553, allocations: 4 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.1824, allocations: 3.544 MB / 0.5702 GB, free: 6.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.272, allocations: 14.05 kB / 0.5702 GB, free: 6.934 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.353499086108059] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.393031220883131 8.407367785 8.26178893 Calling exit ...