Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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.000838/0.000838, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00096/0.00096, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9007/0.9007, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2829/0.2829, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.215e-05, allocations: 4.672 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.1873/0.1874, allocations: 1.984 MB / 444.1 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1885, allocations: 0.9882 MB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.1885, allocations: 3 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1889, allocations: 259.6 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1892, allocations: 272.4 kB / 445.7 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.1897, allocations: 490.4 kB / 446.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.1899, allocations: 338.4 kB / 446.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.19, allocations: 43.59 kB / 446.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1902, allocations: 183.8 kB / 446.7 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1903, allocations: 198.1 kB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1903, allocations: 11.81 kB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1904, allocations: 102.3 kB / 447 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.057e-05/0.1905, allocations: 94.28 kB / 447.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.1906, allocations: 70.45 kB / 447.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1908, allocations: 341.3 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1908, allocations: 0 / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1908, allocations: 2.875 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1908, allocations: 0 / 447.5 MB, free: 42.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004888/0.1913, allocations: 0.6305 MB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1913, allocations: 11.66 kB / 448.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.1914, allocations: 44.94 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1914, allocations: 44.66 kB / 448.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1916, allocations: 274.9 kB / 448.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1916, allocations: 11.72 kB / 448.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1916, allocations: 12.97 kB / 448.5 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1918, allocations: 103.9 kB / 448.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1918, allocations: 3.125 kB / 448.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1918, allocations: 384 / 448.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1918, allocations: 6.938 kB / 448.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.1919, allocations: 81.53 kB / 448.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1923, allocations: 462.6 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1924, allocations: 81.33 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.1924, allocations: 34 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1924, allocations: 2.844 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.1924, allocations: 37.47 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 6.61e-07/0.1924, allocations: 0 / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005383/0.193, allocations: 408.1 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.193, allocations: 58.31 kB / 449.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1933, allocations: 0.5823 MB / 450.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.1933, allocations: 29.7 kB / 450.4 MB, free: 40.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.1934, allocations: 218.5 kB / 450.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1934, allocations: 56.23 kB / 450.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.1935, allocations: 38.31 kB / 450.7 MB, free: 40.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.1935, allocations: 359.1 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1936, allocations: 45.36 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.1936, allocations: 56.17 kB / 451.1 MB, free: 39.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1937, allocations: 122.9 kB / 451.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1937, allocations: 0 / 451.2 MB, free: 39.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001714/0.1939, allocations: 201.9 kB / 451.4 MB, free: 39.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1939, allocations: 9.906 kB / 451.5 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1939, allocations: 4 kB / 451.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1939, allocations: 2.812 kB / 451.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.194, allocations: 37.72 kB / 451.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.194, allocations: 3.422 kB / 451.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.1941, allocations: 8.188 kB / 451.5 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1941, allocations: 6.688 kB / 451.5 MB, free: 39.7 MB / 410.7 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 (17): * Single equations (assignments): 17 * 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 8.42e-05/0.1942, allocations: 177 kB / 451.7 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.1942, allocations: 42.91 kB / 451.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.1944, allocations: 250.7 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1945, allocations: 2.688 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1945, allocations: 0 / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1945, allocations: 3.234 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.1948, allocations: 0.5791 MB / 452.6 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1949, allocations: 0 / 452.6 MB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.1949, allocations: 42.03 kB / 452.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1949, allocations: 0 / 452.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.1949, allocations: 6.938 kB / 452.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1949, allocations: 0 / 452.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1949, allocations: 0 / 452.6 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1951, allocations: 315.7 kB / 452.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.1951, allocations: 42.5 kB / 453 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.1951, allocations: 0 / 453 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.1952, allocations: 12.89 kB / 453 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.1952, allocations: 16.23 kB / 453 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1952, allocations: 9.688 kB / 453 MB, free: 38.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.1955, allocations: 441.5 kB / 453.4 MB, free: 38.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1955, allocations: 0 / 453.4 MB, free: 38.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.1956, allocations: 51.66 kB / 453.5 MB, free: 38.59 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 (17): * Single equations (assignments): 17 * 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.001307/0.197, allocations: 1.48 MB / 455 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1971, allocations: 130.1 kB / 455.1 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.1971, allocations: 4 kB / 455.1 MB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.1972, allocations: 70.25 kB / 455.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1975, allocations: 75.98 kB / 455.2 MB, free: 37.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1994, allocations: 3.201 MB / 458.4 MB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.1995, allocations: 215.4 kB / 458.6 MB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.1996, allocations: 51.17 kB / 458.7 MB, free: 35.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.1997, allocations: 141.8 kB / 458.8 MB, free: 35.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1997, allocations: 0 / 458.8 MB, free: 35.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2162, allocations: 8.457 MB / 467.3 MB, free: 33.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.958, allocations: 7.594 kB / 467.3 MB, free: 33.58 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.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: 9.0444917678833]