Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001278/0.001278, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001395/0.001395, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.58/1.58, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2593/0.2593, allocations: 44.9 MB / 355.8 MB, free: 12.36 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="cs",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.001992/0.001992, allocations: 71.89 kB / 0.4886 GB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 65.4 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003473/0.1676, allocations: 1.693 MB / 0.5541 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1687, allocations: 0.5766 MB / 0.5547 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1688, allocations: 0 / 0.5547 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.1694, allocations: 447.2 kB / 0.5551 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.1699, allocations: 291.3 kB / 0.5554 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1703, allocations: 139.1 kB / 0.5555 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1705, allocations: 179.6 kB / 0.5557 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1706, allocations: 16.45 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1708, allocations: 115.7 kB / 0.5558 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002948/0.1711, allocations: 255.5 kB / 0.5561 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1711, allocations: 12 kB / 0.5561 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1712, allocations: 47.98 kB / 0.5561 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1713, allocations: 87.61 kB / 0.5562 GB, free: 6.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.1714, allocations: 107 kB / 0.5563 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.1718, allocations: 278.5 kB / 0.5566 GB, free: 5.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1718, allocations: 0 / 0.5566 GB, free: 5.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1718, allocations: 0 / 0.5566 GB, free: 5.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1718, allocations: 0 / 0.5566 GB, free: 5.906 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.000912/0.1727, allocations: 0.6762 MB / 0.5572 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1727, allocations: 16.03 kB / 0.5572 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/0.1728, allocations: 4.188 kB / 0.5572 GB, free: 5.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1728, allocations: 34.75 kB / 0.5573 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.1729, allocations: 40.66 kB / 0.5573 GB, free: 5.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1732, allocations: 316.5 kB / 0.5576 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1732, allocations: 12.31 kB / 0.5576 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1732, allocations: 4.125 kB / 0.5576 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1734, allocations: 65.61 kB / 0.5577 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1735, allocations: 4 kB / 0.5577 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1735, allocations: 0 / 0.5577 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1735, allocations: 0 / 0.5577 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1736, allocations: 43.95 kB / 0.5577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.1742, allocations: 400.6 kB / 0.5581 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1745, allocations: 62.53 kB / 0.5582 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.1745, allocations: 20.97 kB / 0.5582 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1746, allocations: 4 kB / 0.5582 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.1746, allocations: 34.56 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1746, allocations: 0 / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001685/0.1763, allocations: 488.7 kB / 0.5587 GB, free: 3.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.1763, allocations: 55.41 kB / 0.5588 GB, free: 3.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009603/0.1773, allocations: 0.8699 MB / 0.5596 GB, free: 2.578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1773, allocations: 25.7 kB / 0.5596 GB, free: 2.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.1775, allocations: 220 kB / 0.5598 GB, free: 2.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1775, allocations: 35.69 kB / 0.5599 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.1776, allocations: 25.72 kB / 0.5599 GB, free: 2.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1778, allocations: 370.8 kB / 0.5603 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.178, allocations: 39.91 kB / 0.5603 GB, free: 1.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1781, allocations: 43.97 kB / 0.5603 GB, free: 1.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.1784, allocations: 100.8 kB / 0.5604 GB, free: 1.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1784, allocations: 4 kB / 0.5604 GB, free: 1.703 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003799/0.1787, allocations: 181.2 kB / 0.5606 GB, free: 1.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1788, allocations: 4 kB / 0.5606 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1788, allocations: 0 / 0.5606 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.1788, allocations: 7.938 kB / 0.5606 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1789, allocations: 27.97 kB / 0.5606 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1789, allocations: 0 / 0.5606 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.179, allocations: 15.98 kB / 0.5607 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.179, allocations: 0 / 0.5607 GB, free: 1.465 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 (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.0002333/0.1792, allocations: 223.8 kB / 0.5609 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.1793, allocations: 47.67 kB / 0.5609 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.1798, allocations: 205.8 kB / 0.5611 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1798, allocations: 8 kB / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1798, allocations: 0 / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1798, allocations: 0 / 0.5611 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.1807, allocations: 0.5702 MB / 0.5617 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1807, allocations: 3.938 kB / 0.5617 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1809, allocations: 36.03 kB / 0.5617 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1809, allocations: 0 / 0.5617 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1809, allocations: 0 / 0.5617 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.1809, allocations: 7.938 kB / 0.5617 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1809, allocations: 0 / 0.5617 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.1814, allocations: 289 kB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1815, allocations: 117 kB / 0.5621 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.1815, allocations: 8 kB / 0.5621 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1816, allocations: 11.98 kB / 0.5621 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.1817, allocations: 7.984 kB / 0.5621 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1817, allocations: 4 kB / 0.5621 GB, free: 15.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000718/0.1824, allocations: 0.6667 MB / 0.5628 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1824, allocations: 0 / 0.5628 GB, free: 15.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1827, allocations: 28 kB / 0.5628 GB, free: 15.12 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.002566/0.1852, allocations: 1.191 MB / 0.564 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000388/0.1856, allocations: 103.9 kB / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1856, allocations: 0 / 0.5641 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1858, allocations: 51.91 kB / 0.5641 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.1863, allocations: 30.23 kB / 0.5642 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.1911, allocations: 3.447 MB / 0.5675 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.1917, allocations: 0.8377 MB / 0.5683 GB, free: 9.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.042e-05/0.1918, allocations: 12.55 kB / 0.5684 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1919, allocations: 111.4 kB / 0.5685 GB, free: 9.391 MB / 430.1 MB Notification: Performance of SimCode: time 1.041e-06/0.1919, allocations: 4 kB / 0.5685 GB, free: 9.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.2189, allocations: 6.634 MB / 0.5749 GB, free: 2.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.918/9.137, allocations: 8.062 kB / 0.575 GB, free: 2.801 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.566288769012317]