Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001989/0.001989, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002155/0.002155, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.605/1.605, 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.2418/0.2418, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001996/0.001996, allocations: 75.88 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1524, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003315/0.1557, allocations: 1.631 MB / 0.5534 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1568, allocations: 0.5394 MB / 0.5539 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.1569, allocations: 4 kB / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.1575, allocations: 447.2 kB / 0.5543 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.158, allocations: 295.2 kB / 0.5546 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1585, allocations: 127.6 kB / 0.5547 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.1587, allocations: 167.6 kB / 0.5549 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1588, allocations: 19.98 kB / 0.5549 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.159, allocations: 103.8 kB / 0.555 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.1593, allocations: 247.5 kB / 0.5552 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.1593, allocations: 4 kB / 0.5552 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.1594, allocations: 31.94 kB / 0.5553 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1595, allocations: 83.62 kB / 0.5554 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.1596, allocations: 111 kB / 0.5555 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.16, allocations: 254.9 kB / 0.5557 GB, free: 6.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.16, allocations: 0 / 0.5557 GB, free: 6.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.16, allocations: 0 / 0.5557 GB, free: 6.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.16, allocations: 0 / 0.5557 GB, free: 6.074 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.0008497/0.1609, allocations: 0.6607 MB / 0.5563 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.1609, allocations: 12.02 kB / 0.5564 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.1609, allocations: 38.69 kB / 0.5564 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.161, allocations: 40.66 kB / 0.5564 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1613, allocations: 304.6 kB / 0.5567 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1614, allocations: 4.375 kB / 0.5567 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.1614, allocations: 8.375 kB / 0.5567 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1615, allocations: 53.61 kB / 0.5568 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1615, allocations: 0 / 0.5568 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1616, allocations: 0 / 0.5568 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1616, allocations: 0 / 0.5568 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1617, allocations: 31.97 kB / 0.5568 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.1623, allocations: 384.8 kB / 0.5572 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1624, allocations: 38.56 kB / 0.5572 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/0.1625, allocations: 16.94 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1625, allocations: 7.938 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1625, allocations: 38.55 kB / 0.5573 GB, free: 4.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 3.356e-06/0.1625, allocations: 4 kB / 0.5573 GB, free: 4.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003813/0.1629, allocations: 121.3 kB / 0.5574 GB, free: 4.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.163, allocations: 51.41 kB / 0.5574 GB, free: 4.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009759/0.1639, allocations: 0.866 MB / 0.5583 GB, free: 3.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.164, allocations: 25.7 kB / 0.5583 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.1641, allocations: 220 kB / 0.5585 GB, free: 2.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1642, allocations: 11.94 kB / 0.5585 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.1642, allocations: 21.72 kB / 0.5586 GB, free: 2.918 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1644, allocations: 358.7 kB / 0.5589 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.1645, allocations: 15.98 kB / 0.5589 GB, free: 2.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.1645, allocations: 11.98 kB / 0.5589 GB, free: 2.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1646, allocations: 40.83 kB / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1647, allocations: 0 / 0.559 GB, free: 2.488 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002182/0.1649, allocations: 117.5 kB / 0.5591 GB, free: 2.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1649, allocations: 8 kB / 0.5591 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1649, allocations: 0 / 0.5591 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1649, allocations: 48 / 0.5591 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.165, allocations: 15.97 kB / 0.5591 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.165, allocations: 0 / 0.5591 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.1651, allocations: 11.95 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1651, allocations: 4 kB / 0.5591 GB, free: 2.328 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 (3): * Single equations (assignments): 3 * 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.0002051/0.1653, allocations: 219.9 kB / 0.5593 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.1653, allocations: 39.72 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1656, allocations: 121 kB / 0.5595 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1656, allocations: 0 / 0.5595 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1656, allocations: 0 / 0.5595 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1656, allocations: 7.984 kB / 0.5595 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.166, allocations: 293.4 kB / 0.5598 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.166, allocations: 0 / 0.5598 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.1661, allocations: 11.98 kB / 0.5598 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1661, allocations: 4 kB / 0.5598 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1661, allocations: 0 / 0.5598 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1661, allocations: 0 / 0.5598 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1661, allocations: 0 / 0.5598 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1663, allocations: 211 kB / 0.56 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.494e-05/0.1664, allocations: 116.8 kB / 0.5601 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1665, allocations: 4 kB / 0.5601 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.1665, allocations: 7.984 kB / 0.5601 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.1666, allocations: 0 / 0.5601 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1666, allocations: 0 / 0.5601 GB, free: 1.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006848/0.1672, allocations: 0.6589 MB / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1672, allocations: 0 / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1675, allocations: 16 kB / 0.5608 GB, free: 0.5391 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 (3): * Single equations (assignments): 3 * 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.00188/0.1694, allocations: 0.9892 MB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1696, allocations: 51.88 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1696, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.1697, allocations: 15.98 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.1701, allocations: 18.31 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/0.1748, allocations: 3.182 MB / 0.5649 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.1753, allocations: 0.8319 MB / 0.5657 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.1753, allocations: 11.81 kB / 0.5657 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.1755, allocations: 115.4 kB / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1755, allocations: 4 kB / 0.5659 GB, free: 11.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.2075, allocations: 5.789 MB / 0.5715 GB, free: 5.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/8.912, allocations: 8 kB / 0.5715 GB, free: 5.57 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_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_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.291422155220062]