Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.0007667/0.0007667, 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.0007867/0.0007867, 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.8741/0.8741, allocations: 177 MB / 204.1 MB, free: 5.766 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.2557/0.2557, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.18e-05, allocations: 10.22 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.1901/0.1902, allocations: 2.016 MB / 444.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1916, allocations: 1.257 MB / 445.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.1917, allocations: 2.438 kB / 445.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.1919, allocations: 43.19 kB / 445.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1922, allocations: 228.8 kB / 445.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.1928, allocations: 460.2 kB / 446.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1931, allocations: 334.8 kB / 446.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1932, allocations: 50.64 kB / 446.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1935, allocations: 183.2 kB / 446.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1936, allocations: 180.9 kB / 446.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1937, allocations: 20.25 kB / 446.9 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1938, allocations: 70.84 kB / 447 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1939, allocations: 151.4 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.1939, allocations: 96.09 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.1943, allocations: 411.5 kB / 447.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1943, allocations: 3.281 kB / 447.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1943, allocations: 0 / 447.6 MB, free: 42.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1943, allocations: 0 / 447.6 MB, free: 42.1 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007071/0.195, allocations: 0.7735 MB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.195, allocations: 12.05 kB / 448.4 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.271e-05/0.1951, allocations: 41.47 kB / 448.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.1953, allocations: 103 kB / 448.6 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1957, allocations: 433.3 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1958, allocations: 7.344 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1958, allocations: 16.98 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.196, allocations: 138.6 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.196, allocations: 3.094 kB / 449.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.196, allocations: 14 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.196, allocations: 6.125 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.1961, allocations: 105.8 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.1966, allocations: 0.6322 MB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1968, allocations: 117.3 kB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.1969, allocations: 60.33 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1969, allocations: 3.094 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.1969, allocations: 33.62 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.1969, allocations: 0 / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001012/0.1979, allocations: 0.7014 MB / 450.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.198, allocations: 87.7 kB / 450.9 MB, free: 40.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006824/0.1986, allocations: 0.9207 MB / 451.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1986, allocations: 33.89 kB / 451.8 MB, free: 39.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1988, allocations: 278.1 kB / 452.1 MB, free: 39.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1988, allocations: 70.97 kB / 452.2 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1988, allocations: 42.34 kB / 452.2 MB, free: 39.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.796e-05/0.1989, allocations: 309.2 kB / 452.5 MB, free: 39.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.199, allocations: 90.72 kB / 452.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1992, allocations: 110.8 kB / 452.7 MB, free: 39.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1994, allocations: 208.1 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1994, allocations: 2.688 kB / 452.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003534/0.1998, allocations: 314.3 kB / 453.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1998, allocations: 5.969 kB / 453.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1998, allocations: 0 / 453.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1998, allocations: 192 / 453.2 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.2, allocations: 53.83 kB / 453.3 MB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2, allocations: 4.156 kB / 453.3 MB, free: 38.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.2001, allocations: 32.89 kB / 453.3 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2001, allocations: 9.781 kB / 453.3 MB, free: 38.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 0.0001321/0.2002, allocations: 214.7 kB / 453.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.2003, allocations: 64.38 kB / 453.6 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.2007, allocations: 359.9 kB / 454 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2007, allocations: 2.875 kB / 454 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2007, allocations: 2.906 kB / 454 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2007, allocations: 6.625 kB / 454 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.2014, allocations: 0.8264 MB / 454.8 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2014, allocations: 0 / 454.8 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.2015, allocations: 53.22 kB / 454.9 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2015, allocations: 6.75 kB / 454.9 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2015, allocations: 6.844 kB / 454.9 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2015, allocations: 0 / 454.9 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2015, allocations: 0 / 454.9 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.2019, allocations: 491.5 kB / 455.4 MB, free: 37.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.2019, allocations: 80.58 kB / 455.4 MB, free: 37.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.202, allocations: 10.72 kB / 455.4 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2021, allocations: 20.45 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.2021, allocations: 19.69 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2022, allocations: 12.91 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004176/0.2026, allocations: 0.6751 MB / 456.2 MB, free: 37.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2026, allocations: 6.969 kB / 456.2 MB, free: 37.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.2028, allocations: 63.69 kB / 456.2 MB, free: 37.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.001389/0.2042, allocations: 1.336 MB / 457.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.2046, allocations: 213.7 kB / 457.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2046, allocations: 0 / 457.8 MB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.2047, allocations: 122.2 kB / 457.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2051, allocations: 74.45 kB / 458 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/0.2093, allocations: 5.378 MB / 463.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.2094, allocations: 276.7 kB / 463.6 MB, free: 33.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.2096, allocations: 88.69 kB / 463.7 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.2098, allocations: 190.1 kB / 463.9 MB, free: 33.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2098, allocations: 0 / 463.9 MB, free: 33.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2333, allocations: 11.38 MB / 475.3 MB, free: 31.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.763/6.997, allocations: 5.422 kB / 475.3 MB, free: 31.55 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.067394196987152]