Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.0008517/0.0008517, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009376/0.0009376, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9321/0.9321, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2546/0.2546, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.159e-05, allocations: 2.281 kB / 439.6 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002258/0.00228, allocations: 1.652 MB / 441.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006074/0.002887, allocations: 0.7712 MB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.002926, allocations: 0 / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.003145, allocations: 31.77 kB / 442 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.003336, allocations: 43.77 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.899e-06/0.003341, allocations: 3.938 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.0035, allocations: 35.84 kB / 442.1 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.003543, allocations: 4 kB / 442.1 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.16e-05/0.003594, allocations: 19.91 kB / 442.1 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.003651, allocations: 11.98 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.003664, allocations: 4 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.67e-05/0.00371, allocations: 8 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.003758, allocations: 19.92 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.003778, allocations: 7.938 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.003908, allocations: 67.73 kB / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.00391, allocations: 0 / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003911, allocations: 0 / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.003915, allocations: 0 / 442.3 MB, free: 1.551 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003033/0.004218, allocations: 294 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.004261, allocations: 8.031 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.004295, allocations: 46.67 kB / 442.6 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.004321, allocations: 8.891 kB / 442.6 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.004411, allocations: 113.7 kB / 442.7 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.004421, allocations: 4.375 kB / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.004428, allocations: 384 / 442.7 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.004582, allocations: 131.2 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.004588, allocations: 192 / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.004596, allocations: 384 / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.004632, allocations: 32.09 kB / 442.9 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.004925, allocations: 43.86 kB / 442.9 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.186/0.1909, allocations: 0.8538 MB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.191, allocations: 175.4 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.191, allocations: 83.17 kB / 444 MB, free: 46.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.191, allocations: 75.94 kB / 444.1 MB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.191, allocations: 107.3 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.853e-06/0.191, allocations: 0.6875 kB / 444.2 MB, free: 46.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.307e-05/0.1911, allocations: 40.03 kB / 444.3 MB, free: 46.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1912, allocations: 127.4 kB / 444.4 MB, free: 45.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1913, allocations: 193.5 kB / 444.6 MB, free: 45.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.1913, allocations: 26.27 kB / 444.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1913, allocations: 155.2 kB / 444.7 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.1913, allocations: 2.125 kB / 444.7 MB, free: 45.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.1914, allocations: 45.95 kB / 444.8 MB, free: 45.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.1914, allocations: 320.4 kB / 445.1 MB, free: 45.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.1915, allocations: 28.11 kB / 445.1 MB, free: 45.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.1915, allocations: 156 kB / 445.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1916, allocations: 201.3 kB / 445.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1916, allocations: 5.312 kB / 445.5 MB, free: 44.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002043/0.1918, allocations: 202.3 kB / 445.7 MB, free: 44.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1919, allocations: 12.47 kB / 445.7 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1919, allocations: 2.969 kB / 445.7 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1919, allocations: 9.031 kB / 445.7 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.192, allocations: 41.06 kB / 445.7 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.192, allocations: 9.125 kB / 445.8 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.1921, allocations: 22.64 kB / 445.8 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1921, allocations: 12.03 kB / 445.8 MB, free: 44.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 6.484e-05/0.1921, allocations: 216.6 kB / 446 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1922, allocations: 121.7 kB / 446.1 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.1922, allocations: 117.3 kB / 446.2 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.32e-05/0.1922, allocations: 179 kB / 446.4 MB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.1922, allocations: 180.2 kB / 446.6 MB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.1923, allocations: 180.1 kB / 446.8 MB, free: 43.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1924, allocations: 400 kB / 447.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.1924, allocations: 104.3 kB / 447.3 MB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-06/0.1924, allocations: 103.8 kB / 447.4 MB, free: 43.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.1924, allocations: 180.7 kB / 447.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1924, allocations: 181.6 kB / 447.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/0.1924, allocations: 181 kB / 447.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.817e-05/0.1924, allocations: 182.5 kB / 448.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.239e-05/0.1925, allocations: 313.6 kB / 448.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.1925, allocations: 115.9 kB / 448.5 MB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1926, allocations: 187.1 kB / 448.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.1926, allocations: 108.9 kB / 448.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1926, allocations: 186.7 kB / 449 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1926, allocations: 104.3 kB / 449.1 MB, free: 41.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.1927, allocations: 135.1 kB / 449.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1927, allocations: 0 / 449.2 MB, free: 41.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.1929, allocations: 15.91 kB / 449.2 MB, free: 41.51 MB / 410.7 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 (0): * Single equations (assignments): 0 * 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.0004814/0.1934, allocations: 0.9237 MB / 450.1 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.1935, allocations: 72.09 kB / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1935, allocations: 0.625 kB / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1935, allocations: 2.719 kB / 450.2 MB, free: 40.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.1937, allocations: 461.4 kB / 450.7 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/0.1947, allocations: 1.87 MB / 452.5 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.113e-05/0.1948, allocations: 78.8 kB / 452.6 MB, free: 38.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.1949, allocations: 51.11 kB / 452.7 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.195, allocations: 32.39 kB / 452.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.195, allocations: 0 / 452.7 MB, free: 38.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.2131, allocations: 2.741 MB / 455.4 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/6.783, allocations: 14.34 kB / 455.4 MB, free: 37.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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: 8.801545390859246]