Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001821/0.001821, 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.002149/0.002149, 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.529/1.529, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2336/0.2336, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002283/0.002283, allocations: 83.86 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1368, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003272/0.1401, allocations: 1.684 MB / 0.5578 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1412, allocations: 0.58 MB / 0.5584 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.1413, allocations: 7.938 kB / 0.5584 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.1419, allocations: 455.1 kB / 0.5588 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.1424, allocations: 291.3 kB / 0.5591 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.1429, allocations: 179 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1432, allocations: 175.7 kB / 0.5595 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1433, allocations: 20.22 kB / 0.5595 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1434, allocations: 115.7 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1437, allocations: 251.5 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1437, allocations: 8 kB / 0.5598 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1439, allocations: 55.97 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.144, allocations: 87.69 kB / 0.56 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1441, allocations: 107 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.1445, allocations: 282.4 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1445, allocations: 0 / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1445, allocations: 0 / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1445, allocations: 0 / 0.5603 GB, free: 1.254 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009316/0.1455, allocations: 0.6801 MB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1455, allocations: 12.03 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.1456, allocations: 34.75 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1456, allocations: 48.58 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.146, allocations: 304.6 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.146, allocations: 8.312 kB / 0.5614 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.146, allocations: 4.375 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1462, allocations: 62.23 kB / 0.5615 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1462, allocations: 3.938 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1462, allocations: 0 / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1462, allocations: 0 / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1463, allocations: 40.02 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.1469, allocations: 412.6 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.147, allocations: 46.56 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/0.1471, allocations: 20.97 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1471, allocations: 0 / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1472, allocations: 38.56 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1472, allocations: 0 / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.001087/0.1482, allocations: 328.5 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1483, allocations: 59.39 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.1493, allocations: 0.8776 MB / 0.5632 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1493, allocations: 29.7 kB / 0.5633 GB, free: 14.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1495, allocations: 224.1 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.1496, allocations: 31.73 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1496, allocations: 21.72 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.1498, allocations: 362.8 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.1499, allocations: 27.98 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.15, allocations: 35.97 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1502, allocations: 84.67 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1502, allocations: 0 / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002691/0.1504, allocations: 149.3 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1504, allocations: 4 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1505, allocations: 0 / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1505, allocations: 8 kB / 0.5642 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1506, allocations: 15.98 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1506, allocations: 0 / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.1507, allocations: 7.938 kB / 0.5642 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.1507, allocations: 8.312 kB / 0.5642 GB, free: 13.07 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 (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.0002017/0.1509, allocations: 217.7 kB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.1509, allocations: 47.66 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1513, allocations: 177.5 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1513, allocations: 4 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1513, allocations: 0 / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.1513, allocations: 3.938 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.1521, allocations: 0.5187 MB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1521, allocations: 0 / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.1522, allocations: 27.95 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1522, allocations: 3.938 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1522, allocations: 8 kB / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1522, allocations: 0 / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1522, allocations: 0 / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.1525, allocations: 252.1 kB / 0.5654 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1526, allocations: 124.7 kB / 0.5655 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1527, allocations: 0 / 0.5655 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.1527, allocations: 8 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1528, allocations: 7.984 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1528, allocations: 0 / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006864/0.1535, allocations: 0.6628 MB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1535, allocations: 3.938 kB / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1537, allocations: 31.94 kB / 0.5662 GB, free: 10.87 MB / 430.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.002245/0.156, allocations: 1.138 MB / 0.5673 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.1562, allocations: 67.89 kB / 0.5674 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1562, allocations: 0 / 0.5674 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.89e-05/0.1563, allocations: 40.08 kB / 0.5674 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.1568, allocations: 34.44 kB / 0.5675 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.161, allocations: 3.392 MB / 0.5708 GB, free: 6.246 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.1615, allocations: 0.8338 MB / 0.5716 GB, free: 5.387 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.852e-05/0.1616, allocations: 24.41 kB / 0.5716 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1618, allocations: 119.4 kB / 0.5717 GB, free: 5.246 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1618, allocations: 0 / 0.5717 GB, free: 5.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.192, allocations: 6.52 MB / 0.5781 GB, free: 14.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/8.775, allocations: 3.938 kB / 0.5781 GB, free: 14.78 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2_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_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.074083161074668] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 8.896961263846606 8.913382774 8.765647665 Calling exit ...