Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001702/0.001702, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.002046/0.002046, allocations: 205 kB / 21.45 MB, free: 1.629 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.489/1.489, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2243/0.2243, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test1",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.002366/0.002366, allocations: 87.86 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1451, allocations: 66.03 MB / 0.5562 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003213/0.1483, allocations: 1.688 MB / 0.5578 GB, free: 3.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1493, allocations: 0.5567 MB / 0.5584 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.1494, allocations: 4 kB / 0.5584 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.1499, allocations: 455.1 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.1504, allocations: 295.3 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1507, allocations: 131 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.151, allocations: 167.7 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1511, allocations: 15.98 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1512, allocations: 119.7 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1514, allocations: 251.5 kB / 0.5598 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1515, allocations: 4 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1516, allocations: 55.91 kB / 0.5598 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1517, allocations: 83.62 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.1518, allocations: 107 kB / 0.56 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1521, allocations: 282.5 kB / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1521, allocations: 0 / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1521, allocations: 0 / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1521, allocations: 4 kB / 0.5603 GB, free: 1.328 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.0007877/0.1529, allocations: 0.6684 MB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.153, allocations: 12.03 kB / 0.5609 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.153, allocations: 38.69 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.1531, allocations: 44.66 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1534, allocations: 300.6 kB / 0.5613 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.1534, allocations: 4.375 kB / 0.5613 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1534, allocations: 8.375 kB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1536, allocations: 54.25 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1536, allocations: 3.938 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1536, allocations: 7.938 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1536, allocations: 0 / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1537, allocations: 27.97 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.1542, allocations: 404.7 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1543, allocations: 46.59 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1544, allocations: 20.94 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1544, allocations: 3.938 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1544, allocations: 30.56 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1544, allocations: 0 / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.000959/0.1554, allocations: 320.5 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1554, allocations: 55.39 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.1563, allocations: 0.8776 MB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1563, allocations: 25.7 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1565, allocations: 228.1 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1565, allocations: 35.67 kB / 0.5634 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1566, allocations: 21.72 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1568, allocations: 370.8 kB / 0.5637 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.1569, allocations: 23.92 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.157, allocations: 31.97 kB / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1571, allocations: 60.83 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1571, allocations: 0 / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002516/0.1574, allocations: 133.4 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1574, allocations: 10.66 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1574, allocations: 0 / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1574, allocations: 0 / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1575, allocations: 27.92 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1575, allocations: 320 / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.1576, allocations: 7.938 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1576, allocations: 4 kB / 0.564 GB, free: 13.23 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.0002038/0.1578, allocations: 217.8 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.1579, allocations: 47.67 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.1582, allocations: 157.5 kB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1582, allocations: 3.938 kB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1582, allocations: 0 / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1582, allocations: 3.938 kB / 0.5644 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006575/0.1589, allocations: 0.5031 MB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1589, allocations: 0 / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.1589, allocations: 19.98 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1589, allocations: 3.938 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.159, allocations: 8 kB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.159, allocations: 0 / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.159, allocations: 3.938 kB / 0.565 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.1593, allocations: 248 kB / 0.5652 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.1594, allocations: 116.8 kB / 0.5653 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1594, allocations: 8 kB / 0.5653 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.1595, allocations: 4 kB / 0.5653 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1595, allocations: 3.984 kB / 0.5653 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1595, allocations: 4 kB / 0.5653 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006874/0.1602, allocations: 0.6628 MB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 0 / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.1605, allocations: 31.94 kB / 0.566 GB, free: 11.08 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.0023/0.1628, allocations: 1.119 MB / 0.5671 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.163, allocations: 59.95 kB / 0.5672 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.163, allocations: 4 kB / 0.5672 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/0.1631, allocations: 36.06 kB / 0.5672 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1636, allocations: 36.23 kB / 0.5672 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.1676, allocations: 3.333 MB / 0.5705 GB, free: 6.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005263/0.1681, allocations: 0.8299 MB / 0.5713 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.1682, allocations: 16.42 kB / 0.5713 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1683, allocations: 115.3 kB / 0.5714 GB, free: 5.555 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1683, allocations: 3.938 kB / 0.5714 GB, free: 5.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.1981, allocations: 6.412 MB / 0.5777 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.84/9.038, allocations: 16.78 kB / 0.5777 GB, free: 15.18 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_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_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.197456724010408] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 9.16447730595246 9.191991702 9.035331297 Calling exit ...