Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 203.3 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 65.42 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003149/0.151, allocations: 1.63 MB / 0.5533 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1521, allocations: 0.5572 MB / 0.5539 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.1521, allocations: 0 / 0.5539 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.1527, allocations: 455.1 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.1532, allocations: 295.3 kB / 0.5546 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1537, allocations: 170.6 kB / 0.5548 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.154, allocations: 167.6 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1541, allocations: 11.98 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1543, allocations: 115.7 kB / 0.5551 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1546, allocations: 243.5 kB / 0.5553 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1546, allocations: 4 kB / 0.5553 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.1547, allocations: 27.98 kB / 0.5553 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1548, allocations: 87.62 kB / 0.5554 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1549, allocations: 102.9 kB / 0.5555 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.1553, allocations: 258.9 kB / 0.5557 GB, free: 6.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1553, allocations: 4 kB / 0.5557 GB, free: 6.047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1553, allocations: 0 / 0.5557 GB, free: 6.047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1553, allocations: 0 / 0.5557 GB, free: 6.047 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000997/0.1563, allocations: 0.6529 MB / 0.5564 GB, free: 5.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1564, allocations: 8.031 kB / 0.5564 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.09e-05/0.1564, allocations: 42.73 kB / 0.5564 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.1565, allocations: 40.66 kB / 0.5565 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1568, allocations: 300.7 kB / 0.5568 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1568, allocations: 12.31 kB / 0.5568 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-06/0.1569, allocations: 384 / 0.5568 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.157, allocations: 53.61 kB / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.157, allocations: 0 / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.157, allocations: 3.938 kB / 0.5568 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.157, allocations: 0 / 0.5568 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.1571, allocations: 31.98 kB / 0.5569 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.1577, allocations: 388.7 kB / 0.5572 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.1578, allocations: 34.52 kB / 0.5573 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.1578, allocations: 12.91 kB / 0.5573 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1579, allocations: 0 / 0.5573 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1579, allocations: 38.56 kB / 0.5573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.1579, allocations: 0 / 0.5573 GB, free: 4.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002933/0.1582, allocations: 109.3 kB / 0.5574 GB, free: 4.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1582, allocations: 55.41 kB / 0.5575 GB, free: 4.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.1592, allocations: 0.8777 MB / 0.5583 GB, free: 3.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1592, allocations: 25.7 kB / 0.5583 GB, free: 3.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.1594, allocations: 220.1 kB / 0.5586 GB, free: 2.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1594, allocations: 12.08 kB / 0.5586 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1594, allocations: 17.7 kB / 0.5586 GB, free: 2.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1596, allocations: 362.7 kB / 0.5589 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.1597, allocations: 11.98 kB / 0.5589 GB, free: 2.539 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.77e-05/0.1597, allocations: 8 kB / 0.5589 GB, free: 2.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/0.1598, allocations: 28.83 kB / 0.559 GB, free: 2.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1598, allocations: 4.062 kB / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001687/0.16, allocations: 97.34 kB / 0.5591 GB, free: 2.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.16, allocations: 4 kB / 0.5591 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.16, allocations: 3.938 kB / 0.5591 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.16, allocations: 0 / 0.5591 GB, free: 2.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.1601, allocations: 7.984 kB / 0.5591 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1601, allocations: 3.984 kB / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.1601, allocations: 8 kB / 0.5591 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1601, allocations: 0 / 0.5591 GB, free: 2.367 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 (2): * Single equations (assignments): 2 * 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.0001944/0.1603, allocations: 223.9 kB / 0.5593 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.1604, allocations: 47.67 kB / 0.5594 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.1606, allocations: 104.8 kB / 0.5595 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1606, allocations: 0 / 0.5595 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1606, allocations: 0 / 0.5595 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1606, allocations: 7.938 kB / 0.5595 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.1609, allocations: 289.5 kB / 0.5597 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1609, allocations: 3.938 kB / 0.5597 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.1609, allocations: 12.03 kB / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1609, allocations: 0 / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1609, allocations: 0 / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1609, allocations: 0 / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1609, allocations: 0 / 0.5598 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1612, allocations: 195.2 kB / 0.5599 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.1613, allocations: 116.8 kB / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1613, allocations: 8.031 kB / 0.5601 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.1614, allocations: 0 / 0.5601 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1614, allocations: 0 / 0.5601 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1614, allocations: 4 kB / 0.5601 GB, free: 1.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007302/0.1621, allocations: 0.6589 MB / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 0.5607 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1624, allocations: 23.88 kB / 0.5607 GB, free: 0.5977 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 (2): * Single equations (assignments): 2 * 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.00173/0.1641, allocations: 0.9798 MB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.1643, allocations: 27.98 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1643, allocations: 0 / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.1643, allocations: 19.92 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1647, allocations: 31.34 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.1689, allocations: 3.179 MB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/0.1695, allocations: 0.8221 MB / 0.5657 GB, free: 11.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.704e-05/0.1696, allocations: 19.67 kB / 0.5657 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.1698, allocations: 115.4 kB / 0.5658 GB, free: 11.4 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1698, allocations: 0 / 0.5658 GB, free: 11.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.1988, allocations: 5.831 MB / 0.5715 GB, free: 5.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.787/8.986, allocations: 14.03 kB / 0.5715 GB, free: 5.609 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.370208200067282]