Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0007988/0.0007988, 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.0008322/0.0008322, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8945/0.8945, allocations: 177 MB / 204.1 MB, free: 5.762 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.2484/0.2484, allocations: 34.25 MB / 294.8 MB, free: 0.6758 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.891e-05, allocations: 6.219 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.1889/0.1889, allocations: 1.984 MB / 444.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1903, allocations: 1.092 MB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1905, allocations: 6.094 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.1909, allocations: 273.6 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.1913, allocations: 267 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.1922, allocations: 0.658 MB / 446.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.1925, allocations: 359.5 kB / 446.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1926, allocations: 53.33 kB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1928, allocations: 185.1 kB / 447 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1929, allocations: 207.9 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.193, allocations: 10.53 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1931, allocations: 101.8 kB / 447.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1932, allocations: 114.5 kB / 447.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.1933, allocations: 62.72 kB / 447.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.1936, allocations: 356.8 kB / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1936, allocations: 0 / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1936, allocations: 0 / 447.9 MB, free: 42.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1936, allocations: 0 / 447.9 MB, free: 42.18 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.0006767/0.1943, allocations: 0.6467 MB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1943, allocations: 8.594 kB / 448.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.1944, allocations: 41.84 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1944, allocations: 49.23 kB / 448.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1946, allocations: 283.7 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1947, allocations: 10.25 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1947, allocations: 10.34 kB / 448.9 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1948, allocations: 126 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1949, allocations: 6.828 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1949, allocations: 6.656 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1949, allocations: 9.5 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.195, allocations: 97.84 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.1954, allocations: 476.3 kB / 449.6 MB, free: 40.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1956, allocations: 107.4 kB / 449.7 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.1956, allocations: 36.7 kB / 449.7 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1956, allocations: 6.312 kB / 449.8 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.1957, allocations: 33.62 kB / 449.8 MB, free: 40.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1957, allocations: 0 / 449.8 MB, free: 40.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007793/0.1964, allocations: 458.9 kB / 450.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1965, allocations: 51.41 kB / 450.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.1969, allocations: 0.5985 MB / 450.9 MB, free: 40.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1969, allocations: 33.7 kB / 450.9 MB, free: 40.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.197, allocations: 218.9 kB / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.197, allocations: 60.62 kB / 451.2 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.1971, allocations: 39.22 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.1971, allocations: 355.4 kB / 451.6 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.1972, allocations: 70.16 kB / 451.6 MB, free: 39.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1973, allocations: 73 kB / 451.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1975, allocations: 154.7 kB / 451.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1975, allocations: 7.938 kB / 451.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002839/0.1977, allocations: 238.4 kB / 452.1 MB, free: 39.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1978, allocations: 6.688 kB / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1978, allocations: 0 / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1978, allocations: 2.844 kB / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1979, allocations: 33.48 kB / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1979, allocations: 0 / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.198, allocations: 15.89 kB / 452.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.198, allocations: 3.156 kB / 452.2 MB, free: 39.48 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 0.0001146/0.1981, allocations: 183.4 kB / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1982, allocations: 43.72 kB / 452.4 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.1985, allocations: 292.9 kB / 452.7 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1985, allocations: 4.672 kB / 452.7 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1985, allocations: 0 / 452.7 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1985, allocations: 0 / 452.7 MB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.1991, allocations: 0.6409 MB / 453.3 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1991, allocations: 2.719 kB / 453.3 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.1992, allocations: 27.69 kB / 453.3 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1992, allocations: 5.938 kB / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1992, allocations: 4 kB / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1992, allocations: 2.625 kB / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1992, allocations: 0 / 453.4 MB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1994, allocations: 335.5 kB / 453.7 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.1994, allocations: 49.97 kB / 453.7 MB, free: 38.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1994, allocations: 10.16 kB / 453.7 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.1995, allocations: 13.19 kB / 453.8 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1995, allocations: 12.38 kB / 453.8 MB, free: 38.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1995, allocations: 2.594 kB / 453.8 MB, free: 38.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.1998, allocations: 453.4 kB / 454.2 MB, free: 38.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1998, allocations: 0 / 454.2 MB, free: 38.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000203/0.2, allocations: 52.16 kB / 454.3 MB, free: 38.34 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.001524/0.2015, allocations: 1.53 MB / 455.8 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.2017, allocations: 163.6 kB / 456 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2017, allocations: 0 / 456 MB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.2018, allocations: 85.64 kB / 456 MB, free: 37.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.2022, allocations: 78.94 kB / 456.1 MB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.2046, allocations: 3.363 MB / 459.5 MB, free: 35.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2047, allocations: 232.8 kB / 459.7 MB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.2048, allocations: 62.3 kB / 459.8 MB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2049, allocations: 139.8 kB / 459.9 MB, free: 35.19 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.2049, allocations: 3.156 kB / 459.9 MB, free: 35.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2229, allocations: 8.697 MB / 468.6 MB, free: 33.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.905, allocations: 5.875 kB / 468.6 MB, free: 33.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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: 8.918937298469245]