Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001696/0.001696, 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.00196/0.00196, 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.456/1.456, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.221/0.221, allocations: 46.92 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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27",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.002258/0.002258, allocations: 88.14 kB / 0.4917 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1317, allocations: 66.04 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003319/0.135, allocations: 1.676 MB / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1361, allocations: 0.5838 MB / 0.5584 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1362, allocations: 8 kB / 0.5584 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1364, allocations: 67.72 kB / 0.5585 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.1367, allocations: 99.59 kB / 0.5586 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.1371, allocations: 171.1 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1373, allocations: 91.8 kB / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1374, allocations: 24.16 kB / 0.5588 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.1375, allocations: 27.92 kB / 0.5589 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1376, allocations: 59.75 kB / 0.5589 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1376, allocations: 4 kB / 0.5589 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1377, allocations: 47.98 kB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.1378, allocations: 35.83 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.79e-05/0.1379, allocations: 31.75 kB / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1381, allocations: 127.4 kB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1381, allocations: 0 / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1381, allocations: 0 / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1381, allocations: 3.938 kB / 0.5592 GB, free: 2.441 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.0006312/0.1387, allocations: 426.7 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1388, allocations: 8.031 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1388, allocations: 30.75 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1388, allocations: 20.83 kB / 0.5596 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1391, allocations: 208.8 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.1391, allocations: 4.375 kB / 0.5598 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1391, allocations: 4.375 kB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1393, allocations: 70.23 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1393, allocations: 11.88 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1393, allocations: 0 / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.1393, allocations: 0 / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1395, allocations: 51.91 kB / 0.56 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.14, allocations: 320.8 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1402, allocations: 62.52 kB / 0.5603 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.1403, allocations: 28.97 kB / 0.5604 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1403, allocations: 0 / 0.5604 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1404, allocations: 38.56 kB / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1404, allocations: 0 / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001566/0.1419, allocations: 428.9 kB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.142, allocations: 51.41 kB / 0.5609 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1422, allocations: 201.4 kB / 0.561 GB, free: 324 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1422, allocations: 33.7 kB / 0.5611 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.1423, allocations: 100.1 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1423, allocations: 39.64 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.1424, allocations: 29.66 kB / 0.5612 GB, free: 104 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1425, allocations: 322.8 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1427, allocations: 55.95 kB / 0.5616 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1428, allocations: 59.97 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1431, allocations: 133 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1431, allocations: 0 / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003633/0.1435, allocations: 157.6 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1435, allocations: 8 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1435, allocations: 4 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1435, allocations: 0 / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1436, allocations: 27.92 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1437, allocations: 7.875 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.1437, allocations: 12.55 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1437, allocations: 4 kB / 0.562 GB, free: 15.31 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 (11): * Single equations (assignments): 11 * 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.0001064/0.1438, allocations: 129.8 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.1439, allocations: 23.89 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.1444, allocations: 194.9 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1444, allocations: 0 / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1444, allocations: 3.938 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1444, allocations: 0 / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007907/0.1452, allocations: 0.5039 MB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.1452, allocations: 3.938 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1453, allocations: 23.98 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1453, allocations: 4 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1453, allocations: 4 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1453, allocations: 4 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1453, allocations: 0 / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.1458, allocations: 281 kB / 0.5631 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.1458, allocations: 92.98 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1458, allocations: 0 / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.146, allocations: 19.98 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.146, allocations: 7.984 kB / 0.5632 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.146, allocations: 4 kB / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1461, allocations: 156.9 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1461, allocations: 0 / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1464, allocations: 23.94 kB / 0.5634 GB, free: 13.72 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002346/0.1488, allocations: 1.158 MB / 0.5646 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.1491, allocations: 123.8 kB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1491, allocations: 0 / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1493, allocations: 72.02 kB / 0.5647 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1497, allocations: 22.48 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.1524, allocations: 1.916 MB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.1527, allocations: 0.7197 MB / 0.5673 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.354e-05/0.1528, allocations: 32.52 kB / 0.5674 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.1529, allocations: 39.42 kB / 0.5674 GB, free: 9.668 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1529, allocations: 0 / 0.5674 GB, free: 9.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.1776, allocations: 3.562 MB / 0.5709 GB, free: 6.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.269, allocations: 1.016 kB / 0.5709 GB, free: 6.168 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.308612426742911] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.38912051776424 8.404065682 8.263321774 Calling exit ...